HSL(272, 30%, 61%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(272,30%,61%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(272, 30%, 61%) | color: hsl(272, 30%, 61%) | |
| HEX | #9E7EB9 | color: #9E7EB9 | |
| RGB | rgb(158, 126, 185) | color: rgb(158, 126, 185) | |
| CMYK | cmyk(15%, 32%, 0%, 27%) | — | |
| HSV | hsv(273, 32%, 73%) | — | |
| HWB | hwb(273 50% 27%) | color: hwb(273 50% 27%) | |
| OKLCH | oklch(0.6451 0.0929 308.74) | color: oklch(0.6451 0.0929 308.74) | |
| Lab | lab(57.75 23.76 -26.38) | color: lab(57.75 23.76 -26.38) | |
| LCH | lch(57.75 35.5 312.01) | color: lch(57.75 35.5 312.01) |
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)
#9090AB — rgb(144, 144, 171)
Deuteranopia (Green-blind)
#9294A7 — rgb(146, 148, 167)
Tritanopia (Blue-blind)
#9C9F9D — rgb(156, 159, 157)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(272, 30%, 61%);
text
color: hsl(272, 30%, 61%);
border
border: 2px solid hsl(272, 30%, 61%);
gradient light
background: linear-gradient(to right, hsl(272, 30%, 81%), hsl(272, 30%, 61%));
gradient dark
background: linear-gradient(to right, hsl(272, 30%, 61%), hsl(272, 30%, 41%))
hex
background-color: #9E7EB9;
tailwind
bg-[hsl(272,30%,61%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(272, 30%, 61%, 0.4);
css variable
--color-primary: hsl(272, 30%, 61%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(272, 30%, 61%)?
HEX: #9E7EB9 | RGB: rgb(158, 126, 185) | CMYK: 15%, 32%, 0%, 27% | HSV: 273°, 32%, 73%. Copy any format from the conversion table above.
What colors go well with #9E7EB9?
The complementary color is HSL(92, 30%, 61%). For a triadic harmony, use hues 272°, 32°, and 152°. For analogous combinations, try hues 242° and 302°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(272, 30%, 61%) in CSS?
As HSL: color: hsl(272, 30%, 61%); — As HEX: color: #9E7EB9; — As RGB: color: rgb(158, 126, 185); — Tailwind CSS: bg-[hsl(272,30%,61%)] — CSS variable: --color-primary: hsl(272, 30%, 61%);