HSL(278, 30%, 31%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(278,30%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(278, 30%, 31%) | color: hsl(278, 30%, 31%) | |
| HEX | #553767 | color: #553767 | |
| RGB | rgb(85, 55, 103) | color: rgb(85, 55, 103) | |
| CMYK | cmyk(17%, 47%, 0%, 60%) | — | |
| HSV | hsv(278, 47%, 40%) | — | |
| HWB | hwb(278 21% 60%) | color: hwb(278 21% 60%) | |
| OKLCH | oklch(0.393 0.0858 311.77) | color: oklch(0.393 0.0858 311.77) | |
| Lab | lab(28.49 23.25 -23.07) | color: lab(28.49 23.25 -23.07) | |
| LCH | lch(28.49 32.75 315.22) | color: lch(28.49 32.75 315.22) |
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)
#48485B — rgb(72, 72, 91)
Deuteranopia (Green-blind)
#4A4C59 — rgb(74, 76, 89)
Tritanopia (Blue-blind)
#545250 — rgb(84, 82, 80)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(278, 30%, 31%);
text
color: hsl(278, 30%, 31%);
border
border: 2px solid hsl(278, 30%, 31%);
gradient light
background: linear-gradient(to right, hsl(278, 30%, 51%), hsl(278, 30%, 31%));
gradient dark
background: linear-gradient(to right, hsl(278, 30%, 31%), hsl(278, 30%, 11%))
hex
background-color: #553767;
tailwind
bg-[hsl(278,30%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(278, 30%, 31%, 0.4);
css variable
--color-primary: hsl(278, 30%, 31%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(278, 30%, 31%)?
HEX: #553767 | RGB: rgb(85, 55, 103) | CMYK: 17%, 47%, 0%, 60% | HSV: 278°, 47%, 40%. Copy any format from the conversion table above.
What colors go well with #553767?
The complementary color is HSL(98, 30%, 31%). 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, 30%, 31%) in CSS?
As HSL: color: hsl(278, 30%, 31%); — As HEX: color: #553767; — As RGB: color: rgb(85, 55, 103); — Tailwind CSS: bg-[hsl(278,30%,31%)] — CSS variable: --color-primary: hsl(278, 30%, 31%);