HSL(278, 85%, 29%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(278,85%,29%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(278, 85%, 29%) | color: hsl(278, 85%, 29%) | |
| HEX | #5B0B89 | color: #5B0B89 | |
| RGB | rgb(91, 11, 137) | color: rgb(91, 11, 137) | |
| CMYK | cmyk(34%, 92%, 0%, 46%) | — | |
| HSV | hsv(278, 92%, 54%) | — | |
| HWB | hwb(278 4% 46%) | color: hwb(278 4% 46%) | |
| OKLCH | oklch(0.374 0.1826 307.36) | color: oklch(0.374 0.1826 307.36) | |
| Lab | lab(24.54 52.7 -50.93) | color: lab(24.54 52.7 -50.93) | |
| LCH | lch(24.54 73.29 315.98) | color: lch(24.54 73.29 315.98) |
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)
#38386B — rgb(56, 56, 107)
Deuteranopia (Green-blind)
#3D4363 — rgb(61, 67, 99)
Tritanopia (Blue-blind)
#57524D — rgb(87, 82, 77)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(278, 85%, 29%);
text
color: hsl(278, 85%, 29%);
border
border: 2px solid hsl(278, 85%, 29%);
gradient light
background: linear-gradient(to right, hsl(278, 85%, 49%), hsl(278, 85%, 29%));
gradient dark
background: linear-gradient(to right, hsl(278, 85%, 29%), hsl(278, 85%, 9%))
hex
background-color: #5B0B89;
tailwind
bg-[hsl(278,85%,29%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(278, 85%, 29%, 0.4);
css variable
--color-primary: hsl(278, 85%, 29%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(278, 85%, 29%)?
HEX: #5B0B89 | RGB: rgb(91, 11, 137) | CMYK: 34%, 92%, 0%, 46% | HSV: 278°, 92%, 54%. Copy any format from the conversion table above.
What colors go well with #5B0B89?
The complementary color is HSL(98, 85%, 29%). 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, 85%, 29%) in CSS?
As HSL: color: hsl(278, 85%, 29%); — As HEX: color: #5B0B89; — As RGB: color: rgb(91, 11, 137); — Tailwind CSS: bg-[hsl(278,85%,29%)] — CSS variable: --color-primary: hsl(278, 85%, 29%);