HSL(272, 71%, 50%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(272,71%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(272, 71%, 50%) | color: hsl(272, 71%, 50%) | |
| HEX | #8625DA | color: #8625DA | |
| RGB | rgb(134, 37, 218) | color: rgb(134, 37, 218) | |
| CMYK | cmyk(39%, 83%, 0%, 15%) | — | |
| HSV | hsv(272, 83%, 85%) | — | |
| HWB | hwb(272 14% 15%) | color: hwb(272 14% 15%) | |
| OKLCH | oklch(0.5177 0.2469 302.03) | color: oklch(0.5177 0.2469 302.03) | |
| Lab | lab(40.33 69.41 -73.24) | color: lab(40.33 69.41 -73.24) | |
| LCH | lch(40.33 100.91 313.46) | color: lch(40.33 100.91 313.46) |
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)
#5C5BAE — rgb(92, 91, 174)
Deuteranopia (Green-blind)
#6269A4 — rgb(98, 105, 164)
Tritanopia (Blue-blind)
#818C84 — rgb(129, 140, 132)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(272, 71%, 50%);
text
color: hsl(272, 71%, 50%);
border
border: 2px solid hsl(272, 71%, 50%);
gradient light
background: linear-gradient(to right, hsl(272, 71%, 70%), hsl(272, 71%, 50%));
gradient dark
background: linear-gradient(to right, hsl(272, 71%, 50%), hsl(272, 71%, 30%))
hex
background-color: #8625DA;
tailwind
bg-[hsl(272,71%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(272, 71%, 50%, 0.4);
css variable
--color-primary: hsl(272, 71%, 50%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(272, 71%, 50%)?
HEX: #8625DA | RGB: rgb(134, 37, 218) | CMYK: 39%, 83%, 0%, 15% | HSV: 272°, 83%, 85%. Copy any format from the conversion table above.
What colors go well with #8625DA?
The complementary color is HSL(92, 71%, 50%). 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, 71%, 50%) in CSS?
As HSL: color: hsl(272, 71%, 50%); — As HEX: color: #8625DA; — As RGB: color: rgb(134, 37, 218); — Tailwind CSS: bg-[hsl(272,71%,50%)] — CSS variable: --color-primary: hsl(272, 71%, 50%);