HSL(272, 30%, 53%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(272,30%,53%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(272, 30%, 53%) | color: hsl(272, 30%, 53%) | |
| HEX | #8A63AB | color: #8A63AB | |
| RGB | rgb(138, 99, 171) | color: rgb(138, 99, 171) | |
| CMYK | cmyk(19%, 42%, 0%, 33%) | — | |
| HSV | hsv(273, 42%, 67%) | — | |
| HWB | hwb(273 39% 33%) | color: hwb(273 39% 33%) | |
| OKLCH | oklch(0.569 0.1153 308.06) | color: oklch(0.569 0.1153 308.06) | |
| Lab | lab(48.6 29.92 -32.67) | color: lab(48.6 29.92 -32.67) | |
| LCH | lch(48.6 44.3 312.48) | color: lch(48.6 44.3 312.48) |
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)
#79799A — rgb(121, 121, 154)
Deuteranopia (Green-blind)
#7B7E95 — rgb(123, 126, 149)
Tritanopia (Blue-blind)
#888C89 — rgb(136, 140, 137)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(272, 30%, 53%);
text
color: hsl(272, 30%, 53%);
border
border: 2px solid hsl(272, 30%, 53%);
gradient light
background: linear-gradient(to right, hsl(272, 30%, 73%), hsl(272, 30%, 53%));
gradient dark
background: linear-gradient(to right, hsl(272, 30%, 53%), hsl(272, 30%, 33%))
hex
background-color: #8A63AB;
tailwind
bg-[hsl(272,30%,53%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(272, 30%, 53%, 0.4);
css variable
--color-primary: hsl(272, 30%, 53%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(272, 30%, 53%)?
HEX: #8A63AB | RGB: rgb(138, 99, 171) | CMYK: 19%, 42%, 0%, 33% | HSV: 273°, 42%, 67%. Copy any format from the conversion table above.
What colors go well with #8A63AB?
The complementary color is HSL(92, 30%, 53%). 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%, 53%) in CSS?
As HSL: color: hsl(272, 30%, 53%); — As HEX: color: #8A63AB; — As RGB: color: rgb(138, 99, 171); — Tailwind CSS: bg-[hsl(272,30%,53%)] — CSS variable: --color-primary: hsl(272, 30%, 53%);