HSL(278, 20%, 47%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(278,20%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(278, 20%, 47%) | color: hsl(278, 20%, 47%) | |
| HEX | #7E6090 | color: #7E6090 | |
| RGB | rgb(126, 96, 144) | color: rgb(126, 96, 144) | |
| CMYK | cmyk(13%, 33%, 0%, 44%) | — | |
| HSV | hsv(278, 33%, 56%) | — | |
| HWB | hwb(278 38% 44%) | color: hwb(278 38% 44%) | |
| OKLCH | oklch(0.5377 0.0809 312.3) | color: oklch(0.5377 0.0809 312.3) | |
| Lab | lab(45.38 21.6 -21.81) | color: lab(45.38 21.6 -21.81) | |
| LCH | lch(45.38 30.7 314.72) | color: lch(45.38 30.7 314.72) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: white
Color Blindness Simulation
Protanopia (Red-blind)
#717184 — rgb(113, 113, 132)
Deuteranopia (Green-blind)
#737582 — rgb(115, 117, 130)
Tritanopia (Blue-blind)
#7D7B79 — rgb(125, 123, 121)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(278, 20%, 47%);
text
color: hsl(278, 20%, 47%);
border
border: 2px solid hsl(278, 20%, 47%);
gradient light
background: linear-gradient(to right, hsl(278, 20%, 67%), hsl(278, 20%, 47%));
gradient dark
background: linear-gradient(to right, hsl(278, 20%, 47%), hsl(278, 20%, 27%))
hex
background-color: #7E6090;
tailwind
bg-[hsl(278,20%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(278, 20%, 47%, 0.4);
css variable
--color-primary: hsl(278, 20%, 47%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(278, 20%, 47%)?
HEX: #7E6090 | RGB: rgb(126, 96, 144) | CMYK: 13%, 33%, 0%, 44% | HSV: 278°, 33%, 56%. Copy any format from the conversion table above.
What colors go well with #7E6090?
The complementary color is HSL(98, 20%, 47%). For a triadic harmony, use hues 278°, 38°, and 158°. For analogous combinations, try hues 248° and 308°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(278, 20%, 47%) in CSS?
As HSL: color: hsl(278, 20%, 47%); — As HEX: color: #7E6090; — As RGB: color: rgb(126, 96, 144); — Tailwind CSS: bg-[hsl(278,20%,47%)] — CSS variable: --color-primary: hsl(278, 20%, 47%);