HSL(266, 63%, 41%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(266,63%,41%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(266, 63%, 41%) | color: hsl(266, 63%, 41%) | |
| HEX | #6027AA | color: #6027AA | |
| RGB | rgb(96, 39, 170) | color: rgb(96, 39, 170) | |
| CMYK | cmyk(44%, 77%, 0%, 33%) | — | |
| HSV | hsv(266, 77%, 67%) | — | |
| HWB | hwb(266 15% 33%) | color: hwb(266 15% 33%) | |
| OKLCH | oklch(0.4324 0.1928 297.29) | color: oklch(0.4324 0.1928 297.29) | |
| Lab | lab(31.44 51.83 -59.84) | color: lab(31.44 51.83 -59.84) | |
| LCH | lch(31.44 79.17 310.9) | color: lch(31.44 79.17 310.9) |
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)
#47478A — rgb(71, 71, 138)
Deuteranopia (Green-blind)
#4B4F83 — rgb(75, 79, 131)
Tritanopia (Blue-blind)
#5D716C — rgb(93, 113, 108)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(266, 63%, 41%);
text
color: hsl(266, 63%, 41%);
border
border: 2px solid hsl(266, 63%, 41%);
gradient light
background: linear-gradient(to right, hsl(266, 63%, 61%), hsl(266, 63%, 41%));
gradient dark
background: linear-gradient(to right, hsl(266, 63%, 41%), hsl(266, 63%, 21%))
hex
background-color: #6027AA;
tailwind
bg-[hsl(266,63%,41%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(266, 63%, 41%, 0.4);
css variable
--color-primary: hsl(266, 63%, 41%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(266, 63%, 41%)?
HEX: #6027AA | RGB: rgb(96, 39, 170) | CMYK: 44%, 77%, 0%, 33% | HSV: 266°, 77%, 67%. Copy any format from the conversion table above.
What colors go well with #6027AA?
The complementary color is HSL(86, 63%, 41%). For a triadic harmony, use hues 266°, 26°, and 146°. For analogous combinations, try hues 236° and 296°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(266, 63%, 41%) in CSS?
As HSL: color: hsl(266, 63%, 41%); — As HEX: color: #6027AA; — As RGB: color: rgb(96, 39, 170); — Tailwind CSS: bg-[hsl(266,63%,41%)] — CSS variable: --color-primary: hsl(266, 63%, 41%);