HSL(281, 20%, 59%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(281,20%,59%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(281, 20%, 59%) | color: hsl(281, 20%, 59%) | |
| HEX | #9E82AB | color: #9E82AB | |
| RGB | rgb(158, 130, 171) | color: rgb(158, 130, 171) | |
| CMYK | cmyk(8%, 24%, 0%, 33%) | — | |
| HSV | hsv(281, 24%, 67%) | — | |
| HWB | hwb(281 51% 33%) | color: hwb(281 51% 33%) | |
| OKLCH | oklch(0.6468 0.0678 314.97) | color: oklch(0.6468 0.0678 314.97) | |
| Lab | lab(58.2 18.43 -17.68) | color: lab(58.2 18.43 -17.68) | |
| LCH | lch(58.2 25.54 316.19) | color: lch(58.2 25.54 316.19) |
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)
#9292A1 — rgb(146, 146, 161)
Deuteranopia (Green-blind)
#94969F — rgb(148, 150, 159)
Tritanopia (Blue-blind)
#9D9998 — rgb(157, 153, 152)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(281, 20%, 59%);
text
color: hsl(281, 20%, 59%);
border
border: 2px solid hsl(281, 20%, 59%);
gradient light
background: linear-gradient(to right, hsl(281, 20%, 79%), hsl(281, 20%, 59%));
gradient dark
background: linear-gradient(to right, hsl(281, 20%, 59%), hsl(281, 20%, 39%))
hex
background-color: #9E82AB;
tailwind
bg-[hsl(281,20%,59%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(281, 20%, 59%, 0.4);
css variable
--color-primary: hsl(281, 20%, 59%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(281, 20%, 59%)?
HEX: #9E82AB | RGB: rgb(158, 130, 171) | CMYK: 8%, 24%, 0%, 33% | HSV: 281°, 24%, 67%. Copy any format from the conversion table above.
What colors go well with #9E82AB?
The complementary color is HSL(101, 20%, 59%). For a triadic harmony, use hues 281°, 41°, and 161°. For analogous combinations, try hues 251° and 311°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(281, 20%, 59%) in CSS?
As HSL: color: hsl(281, 20%, 59%); — As HEX: color: #9E82AB; — As RGB: color: rgb(158, 130, 171); — Tailwind CSS: bg-[hsl(281,20%,59%)] — CSS variable: --color-primary: hsl(281, 20%, 59%);