HSL(272, 60%, 55%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(272,60%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(272, 60%, 55%) | color: hsl(272, 60%, 55%) | |
| HEX | #9147D1 | color: #9147D1 | |
| RGB | rgb(145, 71, 209) | color: rgb(145, 71, 209) | |
| CMYK | cmyk(31%, 66%, 0%, 18%) | — | |
| HSV | hsv(272, 66%, 82%) | — | |
| HWB | hwb(272 28% 18%) | color: hwb(272 28% 18%) | |
| OKLCH | oklch(0.5573 0.2053 305.27) | color: oklch(0.5573 0.2053 305.27) | |
| Lab | lab(45.81 55.78 -59.1) | color: lab(45.81 55.78 -59.1) | |
| LCH | lch(45.81 81.27 313.34) | color: lch(45.81 81.27 313.34) |
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)
#7170B0 — rgb(113, 112, 176)
Deuteranopia (Green-blind)
#757BA8 — rgb(117, 123, 168)
Tritanopia (Blue-blind)
#8D958F — rgb(141, 149, 143)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(272, 60%, 55%);
text
color: hsl(272, 60%, 55%);
border
border: 2px solid hsl(272, 60%, 55%);
gradient light
background: linear-gradient(to right, hsl(272, 60%, 75%), hsl(272, 60%, 55%));
gradient dark
background: linear-gradient(to right, hsl(272, 60%, 55%), hsl(272, 60%, 35%))
hex
background-color: #9147D1;
tailwind
bg-[hsl(272,60%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(272, 60%, 55%, 0.4);
css variable
--color-primary: hsl(272, 60%, 55%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(272, 60%, 55%)?
HEX: #9147D1 | RGB: rgb(145, 71, 209) | CMYK: 31%, 66%, 0%, 18% | HSV: 272°, 66%, 82%. Copy any format from the conversion table above.
What colors go well with #9147D1?
The complementary color is HSL(92, 60%, 55%). 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, 60%, 55%) in CSS?
As HSL: color: hsl(272, 60%, 55%); — As HEX: color: #9147D1; — As RGB: color: rgb(145, 71, 209); — Tailwind CSS: bg-[hsl(272,60%,55%)] — CSS variable: --color-primary: hsl(272, 60%, 55%);