HSL(276, 72%, 55%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(276,72%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(276, 72%, 55%) | color: hsl(276, 72%, 55%) | |
| HEX | #9D3ADF | color: #9D3ADF | |
| RGB | rgb(157, 58, 223) | color: rgb(157, 58, 223) | |
| CMYK | cmyk(30%, 74%, 0%, 13%) | — | |
| HSV | hsv(276, 74%, 87%) | — | |
| HWB | hwb(276 23% 13%) | color: hwb(276 23% 13%) | |
| OKLCH | oklch(0.5674 0.2376 307.71) | color: oklch(0.5674 0.2376 307.71) | |
| Lab | lab(46.34 66.86 -66.17) | color: lab(46.34 66.86 -66.17) | |
| LCH | lch(46.34 94.07 315.3) | color: lch(46.34 94.07 315.3) |
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)
#7271B7 — rgb(114, 113, 183)
Deuteranopia (Green-blind)
#787FAE — rgb(120, 127, 174)
Tritanopia (Blue-blind)
#989891 — rgb(152, 152, 145)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(276, 72%, 55%);
text
color: hsl(276, 72%, 55%);
border
border: 2px solid hsl(276, 72%, 55%);
gradient light
background: linear-gradient(to right, hsl(276, 72%, 75%), hsl(276, 72%, 55%));
gradient dark
background: linear-gradient(to right, hsl(276, 72%, 55%), hsl(276, 72%, 35%))
hex
background-color: #9D3ADF;
tailwind
bg-[hsl(276,72%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(276, 72%, 55%, 0.4);
css variable
--color-primary: hsl(276, 72%, 55%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(276, 72%, 55%)?
HEX: #9D3ADF | RGB: rgb(157, 58, 223) | CMYK: 30%, 74%, 0%, 13% | HSV: 276°, 74%, 87%. Copy any format from the conversion table above.
What colors go well with #9D3ADF?
The complementary color is HSL(96, 72%, 55%). For a triadic harmony, use hues 276°, 36°, and 156°. For analogous combinations, try hues 246° and 306°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(276, 72%, 55%) in CSS?
As HSL: color: hsl(276, 72%, 55%); — As HEX: color: #9D3ADF; — As RGB: color: rgb(157, 58, 223); — Tailwind CSS: bg-[hsl(276,72%,55%)] — CSS variable: --color-primary: hsl(276, 72%, 55%);