HSL(256, 80%, 54%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(256,80%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(256, 80%, 54%) | color: hsl(256, 80%, 54%) | |
| HEX | #5E2CE8 | color: #5E2CE8 | |
| RGB | rgb(94, 44, 232) | color: rgb(94, 44, 232) | |
| CMYK | cmyk(59%, 81%, 0%, 9%) | — | |
| HSV | hsv(256, 81%, 91%) | — | |
| HWB | hwb(256 17% 9%) | color: hwb(256 17% 9%) | |
| OKLCH | oklch(0.4942 0.2543 284.3) | color: oklch(0.4942 0.2543 284.3) | |
| Lab | lab(37.85 65.65 -85.49) | color: lab(37.85 65.65 -85.49) | |
| LCH | lch(37.85 107.79 307.52) | color: lch(37.85 107.79 307.52) |
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)
#4848BB — rgb(72, 72, 187)
Deuteranopia (Green-blind)
#4B4FB0 — rgb(75, 79, 176)
Tritanopia (Blue-blind)
#5C978F — rgb(92, 151, 143)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(256, 80%, 54%);
text
color: hsl(256, 80%, 54%);
border
border: 2px solid hsl(256, 80%, 54%);
gradient light
background: linear-gradient(to right, hsl(256, 80%, 74%), hsl(256, 80%, 54%));
gradient dark
background: linear-gradient(to right, hsl(256, 80%, 54%), hsl(256, 80%, 34%))
hex
background-color: #5E2CE8;
tailwind
bg-[hsl(256,80%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(256, 80%, 54%, 0.4);
css variable
--color-primary: hsl(256, 80%, 54%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(256, 80%, 54%)?
HEX: #5E2CE8 | RGB: rgb(94, 44, 232) | CMYK: 59%, 81%, 0%, 9% | HSV: 256°, 81%, 91%. Copy any format from the conversion table above.
What colors go well with #5E2CE8?
The complementary color is HSL(76, 80%, 54%). For a triadic harmony, use hues 256°, 16°, and 136°. For analogous combinations, try hues 226° and 286°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(256, 80%, 54%) in CSS?
As HSL: color: hsl(256, 80%, 54%); — As HEX: color: #5E2CE8; — As RGB: color: rgb(94, 44, 232); — Tailwind CSS: bg-[hsl(256,80%,54%)] — CSS variable: --color-primary: hsl(256, 80%, 54%);