HSL(259, 66%, 53%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(259,66%,53%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(259, 66%, 53%) | color: hsl(259, 66%, 53%) | |
| HEX | #6A38D6 | color: #6A38D6 | |
| RGB | rgb(106, 56, 214) | color: rgb(106, 56, 214) | |
| CMYK | cmyk(50%, 74%, 0%, 16%) | — | |
| HSV | hsv(259, 74%, 84%) | — | |
| HWB | hwb(259 22% 16%) | color: hwb(259 22% 16%) | |
| OKLCH | oklch(0.501 0.2237 290.37) | color: oklch(0.501 0.2237 290.37) | |
| Lab | lab(39.15 57.14 -73.01) | color: lab(39.15 57.14 -73.01) | |
| LCH | lch(39.15 92.71 308.05) | color: lch(39.15 92.71 308.05) |
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)
#5454B0 — rgb(84, 84, 176)
Deuteranopia (Green-blind)
#575BA7 — rgb(87, 91, 167)
Tritanopia (Blue-blind)
#68928B — rgb(104, 146, 139)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(259, 66%, 53%);
text
color: hsl(259, 66%, 53%);
border
border: 2px solid hsl(259, 66%, 53%);
gradient light
background: linear-gradient(to right, hsl(259, 66%, 73%), hsl(259, 66%, 53%));
gradient dark
background: linear-gradient(to right, hsl(259, 66%, 53%), hsl(259, 66%, 33%))
hex
background-color: #6A38D6;
tailwind
bg-[hsl(259,66%,53%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(259, 66%, 53%, 0.4);
css variable
--color-primary: hsl(259, 66%, 53%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(259, 66%, 53%)?
HEX: #6A38D6 | RGB: rgb(106, 56, 214) | CMYK: 50%, 74%, 0%, 16% | HSV: 259°, 74%, 84%. Copy any format from the conversion table above.
What colors go well with #6A38D6?
The complementary color is HSL(79, 66%, 53%). 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, 66%, 53%) in CSS?
As HSL: color: hsl(259, 66%, 53%); — As HEX: color: #6A38D6; — As RGB: color: rgb(106, 56, 214); — Tailwind CSS: bg-[hsl(259,66%,53%)] — CSS variable: --color-primary: hsl(259, 66%, 53%);