HSL(276, 72%, 50%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(276,72%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(276, 72%, 50%) | color: hsl(276, 72%, 50%) | |
| HEX | #9224DB | color: #9224DB | |
| RGB | rgb(146, 36, 219) | color: rgb(146, 36, 219) | |
| CMYK | cmyk(33%, 84%, 0%, 14%) | — | |
| HSV | hsv(276, 84%, 86%) | — | |
| HWB | hwb(276 14% 14%) | color: hwb(276 14% 14%) | |
| OKLCH | oklch(0.5328 0.2508 306.17) | color: oklch(0.5328 0.2508 306.17) | |
| Lab | lab(41.98 71.58 -71.06) | color: lab(41.98 71.58 -71.06) | |
| LCH | lch(41.98 100.86 315.21) | color: lch(41.98 100.86 315.21) |
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)
#6261AF — rgb(98, 97, 175)
Deuteranopia (Green-blind)
#6971A4 — rgb(105, 113, 164)
Tritanopia (Blue-blind)
#8D8C84 — rgb(141, 140, 132)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(276, 72%, 50%);
text
color: hsl(276, 72%, 50%);
border
border: 2px solid hsl(276, 72%, 50%);
gradient light
background: linear-gradient(to right, hsl(276, 72%, 70%), hsl(276, 72%, 50%));
gradient dark
background: linear-gradient(to right, hsl(276, 72%, 50%), hsl(276, 72%, 30%))
hex
background-color: #9224DB;
tailwind
bg-[hsl(276,72%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(276, 72%, 50%, 0.4);
css variable
--color-primary: hsl(276, 72%, 50%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(276, 72%, 50%)?
HEX: #9224DB | RGB: rgb(146, 36, 219) | CMYK: 33%, 84%, 0%, 14% | HSV: 276°, 84%, 86%. Copy any format from the conversion table above.
What colors go well with #9224DB?
The complementary color is HSL(96, 72%, 50%). 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%, 50%) in CSS?
As HSL: color: hsl(276, 72%, 50%); — As HEX: color: #9224DB; — As RGB: color: rgb(146, 36, 219); — Tailwind CSS: bg-[hsl(276,72%,50%)] — CSS variable: --color-primary: hsl(276, 72%, 50%);