HSL(279, 35%, 59%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(279,35%,59%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(279, 35%, 59%) | color: hsl(279, 35%, 59%) | |
| HEX | #A172BB | color: #A172BB | |
| RGB | rgb(161, 114, 187) | color: rgb(161, 114, 187) | |
| CMYK | cmyk(14%, 39%, 0%, 27%) | — | |
| HSV | hsv(279, 39%, 73%) | — | |
| HWB | hwb(279 45% 27%) | color: hwb(279 45% 27%) | |
| OKLCH | oklch(0.6273 0.1179 312.86) | color: oklch(0.6273 0.1179 312.86) | |
| Lab | lab(55.28 32 -31.32) | color: lab(55.28 32 -31.32) | |
| LCH | lch(55.28 44.78 315.62) | color: lch(55.28 44.78 315.62) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#8D8CA9 — rgb(141, 140, 169)
Deuteranopia (Green-blind)
#8F93A5 — rgb(143, 147, 165)
Tritanopia (Blue-blind)
#9F9B98 — rgb(159, 155, 152)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(279, 35%, 59%);
text
color: hsl(279, 35%, 59%);
border
border: 2px solid hsl(279, 35%, 59%);
gradient light
background: linear-gradient(to right, hsl(279, 35%, 79%), hsl(279, 35%, 59%));
gradient dark
background: linear-gradient(to right, hsl(279, 35%, 59%), hsl(279, 35%, 39%))
hex
background-color: #A172BB;
tailwind
bg-[hsl(279,35%,59%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(279, 35%, 59%, 0.4);
css variable
--color-primary: hsl(279, 35%, 59%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(279, 35%, 59%)?
HEX: #A172BB | RGB: rgb(161, 114, 187) | CMYK: 14%, 39%, 0%, 27% | HSV: 279°, 39%, 73%. Copy any format from the conversion table above.
What colors go well with #A172BB?
The complementary color is HSL(99, 35%, 59%). For a triadic harmony, use hues 279°, 39°, and 159°. For analogous combinations, try hues 249° and 309°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(279, 35%, 59%) in CSS?
As HSL: color: hsl(279, 35%, 59%); — As HEX: color: #A172BB; — As RGB: color: rgb(161, 114, 187); — Tailwind CSS: bg-[hsl(279,35%,59%)] — CSS variable: --color-primary: hsl(279, 35%, 59%);