HSL(272, 80%, 54%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(272,80%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(272, 80%, 54%) | color: hsl(272, 80%, 54%) | |
| HEX | #902CE8 | color: #902CE8 | |
| RGB | rgb(144, 44, 232) | color: rgb(144, 44, 232) | |
| CMYK | cmyk(38%, 81%, 0%, 9%) | — | |
| HSV | hsv(272, 81%, 91%) | — | |
| HWB | hwb(272 17% 9%) | color: hwb(272 17% 9%) | |
| OKLCH | oklch(0.5467 0.256 302.17) | color: oklch(0.5467 0.256 302.17) | |
| Lab | lab(43.59 71.68 -75.85) | color: lab(43.59 71.68 -75.85) | |
| LCH | lch(43.59 104.36 313.38) | color: lch(43.59 104.36 313.38) |
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)
#6564BB — rgb(101, 100, 187)
Deuteranopia (Green-blind)
#6B72B0 — rgb(107, 114, 176)
Tritanopia (Blue-blind)
#8B978F — rgb(139, 151, 143)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(272, 80%, 54%);
text
color: hsl(272, 80%, 54%);
border
border: 2px solid hsl(272, 80%, 54%);
gradient light
background: linear-gradient(to right, hsl(272, 80%, 74%), hsl(272, 80%, 54%));
gradient dark
background: linear-gradient(to right, hsl(272, 80%, 54%), hsl(272, 80%, 34%))
hex
background-color: #902CE8;
tailwind
bg-[hsl(272,80%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(272, 80%, 54%, 0.4);
css variable
--color-primary: hsl(272, 80%, 54%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(272, 80%, 54%)?
HEX: #902CE8 | RGB: rgb(144, 44, 232) | CMYK: 38%, 81%, 0%, 9% | HSV: 272°, 81%, 91%. Copy any format from the conversion table above.
What colors go well with #902CE8?
The complementary color is HSL(92, 80%, 54%). 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, 80%, 54%) in CSS?
As HSL: color: hsl(272, 80%, 54%); — As HEX: color: #902CE8; — As RGB: color: rgb(144, 44, 232); — Tailwind CSS: bg-[hsl(272,80%,54%)] — CSS variable: --color-primary: hsl(272, 80%, 54%);