HSL(256, 90%, 54%)
Vivid Indigo — Indigo color
Adjust Color
Color Information
Color Name
Vivid Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(256,90%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(256, 90%, 54%) | color: hsl(256, 90%, 54%) | |
| HEX | #5820F3 | color: #5820F3 | |
| RGB | rgb(88, 32, 243) | color: rgb(88, 32, 243) | |
| CMYK | cmyk(64%, 87%, 0%, 5%) | — | |
| HSV | hsv(256, 87%, 95%) | — | |
| HWB | hwb(256 12% 5%) | color: hwb(256 12% 5%) | |
| OKLCH | oklch(0.491 0.2739 281.55) | color: oklch(0.491 0.2739 281.55) | |
| Lab | lab(37.07 72.13 -93.03) | color: lab(37.07 72.13 -93.03) | |
| LCH | lch(37.07 117.72 307.79) | color: lch(37.07 117.72 307.79) |
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)
#403FC0 — rgb(64, 63, 192)
Deuteranopia (Green-blind)
#4347B4 — rgb(67, 71, 180)
Tritanopia (Blue-blind)
#55988F — rgb(85, 152, 143)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(256, 90%, 54%);
text
color: hsl(256, 90%, 54%);
border
border: 2px solid hsl(256, 90%, 54%);
gradient light
background: linear-gradient(to right, hsl(256, 90%, 74%), hsl(256, 90%, 54%));
gradient dark
background: linear-gradient(to right, hsl(256, 90%, 54%), hsl(256, 90%, 34%))
hex
background-color: #5820F3;
tailwind
bg-[hsl(256,90%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(256, 90%, 54%, 0.4);
css variable
--color-primary: hsl(256, 90%, 54%);
Related Colors
Use Cases for Vivid Indigo
Frequently Asked Questions
What are all the color codes for HSL(256, 90%, 54%)?
HEX: #5820F3 | RGB: rgb(88, 32, 243) | CMYK: 64%, 87%, 0%, 5% | HSV: 256°, 87%, 95%. Copy any format from the conversion table above.
What colors go well with #5820F3?
The complementary color is HSL(76, 90%, 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, 90%, 54%) in CSS?
As HSL: color: hsl(256, 90%, 54%); — As HEX: color: #5820F3; — As RGB: color: rgb(88, 32, 243); — Tailwind CSS: bg-[hsl(256,90%,54%)] — CSS variable: --color-primary: hsl(256, 90%, 54%);