HSL(279, 90%, 29%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(279,90%,29%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(279, 90%, 29%) | color: hsl(279, 90%, 29%) | |
| HEX | #5E078D | color: #5E078D | |
| RGB | rgb(94, 7, 141) | color: rgb(94, 7, 141) | |
| CMYK | cmyk(33%, 95%, 0%, 45%) | — | |
| HSV | hsv(279, 95%, 55%) | — | |
| HWB | hwb(279 3% 45%) | color: hwb(279 3% 45%) | |
| OKLCH | oklch(0.3801 0.1889 307.7) | color: oklch(0.3801 0.1889 307.7) | |
| Lab | lab(25.12 54.78 -52.47) | color: lab(25.12 54.78 -52.47) | |
| LCH | lch(25.12 75.85 316.23) | color: lch(25.12 75.85 316.23) |
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)
#38386D — rgb(56, 56, 109)
Deuteranopia (Green-blind)
#3D4465 — rgb(61, 68, 101)
Tritanopia (Blue-blind)
#5A534D — rgb(90, 83, 77)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(279, 90%, 29%);
text
color: hsl(279, 90%, 29%);
border
border: 2px solid hsl(279, 90%, 29%);
gradient light
background: linear-gradient(to right, hsl(279, 90%, 49%), hsl(279, 90%, 29%));
gradient dark
background: linear-gradient(to right, hsl(279, 90%, 29%), hsl(279, 90%, 9%))
hex
background-color: #5E078D;
tailwind
bg-[hsl(279,90%,29%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(279, 90%, 29%, 0.4);
css variable
--color-primary: hsl(279, 90%, 29%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(279, 90%, 29%)?
HEX: #5E078D | RGB: rgb(94, 7, 141) | CMYK: 33%, 95%, 0%, 45% | HSV: 279°, 95%, 55%. Copy any format from the conversion table above.
What colors go well with #5E078D?
The complementary color is HSL(99, 90%, 29%). For a triadic harmony, use hues 279°, 39°, and 159°. For analogous combinations, try hues 249° and 309°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(279, 90%, 29%) in CSS?
As HSL: color: hsl(279, 90%, 29%); — As HEX: color: #5E078D; — As RGB: color: rgb(94, 7, 141); — Tailwind CSS: bg-[hsl(279,90%,29%)] — CSS variable: --color-primary: hsl(279, 90%, 29%);