HSL(259, 81%, 52%)
Vivid Indigo — Indigo color
Adjust Color
Color Information
Color Name
Vivid Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(259,81%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(259, 81%, 52%) | color: hsl(259, 81%, 52%) | |
| HEX | #6021E8 | color: #6021E8 | |
| RGB | rgb(96, 33, 232) | color: rgb(96, 33, 232) | |
| CMYK | cmyk(59%, 86%, 0%, 9%) | — | |
| HSV | hsv(259, 86%, 91%) | — | |
| HWB | hwb(259 13% 9%) | color: hwb(259 13% 9%) | |
| OKLCH | oklch(0.4871 0.2613 285.71) | color: oklch(0.4871 0.2613 285.71) | |
| Lab | lab(36.74 69.7 -87.32) | color: lab(36.74 69.7 -87.32) | |
| LCH | lch(36.74 111.73 308.6) | color: lch(36.74 111.73 308.6) |
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)
#4544B8 — rgb(69, 68, 184)
Deuteranopia (Green-blind)
#484DAC — rgb(72, 77, 172)
Tritanopia (Blue-blind)
#5D9289 — rgb(93, 146, 137)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(259, 81%, 52%);
text
color: hsl(259, 81%, 52%);
border
border: 2px solid hsl(259, 81%, 52%);
gradient light
background: linear-gradient(to right, hsl(259, 81%, 72%), hsl(259, 81%, 52%));
gradient dark
background: linear-gradient(to right, hsl(259, 81%, 52%), hsl(259, 81%, 32%))
hex
background-color: #6021E8;
tailwind
bg-[hsl(259,81%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(259, 81%, 52%, 0.4);
css variable
--color-primary: hsl(259, 81%, 52%);
Related Colors
Use Cases for Vivid Indigo
Frequently Asked Questions
What are all the color codes for HSL(259, 81%, 52%)?
HEX: #6021E8 | RGB: rgb(96, 33, 232) | CMYK: 59%, 86%, 0%, 9% | HSV: 259°, 86%, 91%. Copy any format from the conversion table above.
What colors go well with #6021E8?
The complementary color is HSL(79, 81%, 52%). For a triadic harmony, use hues 259°, 19°, and 139°. For analogous combinations, try hues 229° and 289°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(259, 81%, 52%) in CSS?
As HSL: color: hsl(259, 81%, 52%); — As HEX: color: #6021E8; — As RGB: color: rgb(96, 33, 232); — Tailwind CSS: bg-[hsl(259,81%,52%)] — CSS variable: --color-primary: hsl(259, 81%, 52%);