HSL(255, 60%, 51%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(255,60%,51%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(255, 60%, 51%) | color: hsl(255, 60%, 51%) | |
| HEX | #5D37CD | color: #5D37CD | |
| RGB | rgb(93, 55, 205) | color: rgb(93, 55, 205) | |
| CMYK | cmyk(55%, 73%, 0%, 20%) | — | |
| HSV | hsv(255, 73%, 80%) | — | |
| HWB | hwb(255 22% 20%) | color: hwb(255 22% 20%) | |
| OKLCH | oklch(0.4794 0.2152 286.77) | color: oklch(0.4794 0.2152 286.77) | |
| Lab | lab(36.87 53.26 -71.61) | color: lab(36.87 53.26 -71.61) | |
| LCH | lch(36.87 89.24 306.64) | color: lch(36.87 89.24 306.64) |
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)
#4D4CA9 — rgb(77, 76, 169)
Deuteranopia (Green-blind)
#4F52A0 — rgb(79, 82, 160)
Tritanopia (Blue-blind)
#5B8C86 — rgb(91, 140, 134)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(255, 60%, 51%);
text
color: hsl(255, 60%, 51%);
border
border: 2px solid hsl(255, 60%, 51%);
gradient light
background: linear-gradient(to right, hsl(255, 60%, 71%), hsl(255, 60%, 51%));
gradient dark
background: linear-gradient(to right, hsl(255, 60%, 51%), hsl(255, 60%, 31%))
hex
background-color: #5D37CD;
tailwind
bg-[hsl(255,60%,51%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(255, 60%, 51%, 0.4);
css variable
--color-primary: hsl(255, 60%, 51%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(255, 60%, 51%)?
HEX: #5D37CD | RGB: rgb(93, 55, 205) | CMYK: 55%, 73%, 0%, 20% | HSV: 255°, 73%, 80%. Copy any format from the conversion table above.
What colors go well with #5D37CD?
The complementary color is HSL(75, 60%, 51%). For a triadic harmony, use hues 255°, 15°, and 135°. For analogous combinations, try hues 225° and 285°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(255, 60%, 51%) in CSS?
As HSL: color: hsl(255, 60%, 51%); — As HEX: color: #5D37CD; — As RGB: color: rgb(93, 55, 205); — Tailwind CSS: bg-[hsl(255,60%,51%)] — CSS variable: --color-primary: hsl(255, 60%, 51%);