HSL(271, 41%, 55%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(271,41%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(271, 41%, 55%) | color: hsl(271, 41%, 55%) | |
| HEX | #8E5DBB | color: #8E5DBB | |
| RGB | rgb(142, 93, 187) | color: rgb(142, 93, 187) | |
| CMYK | cmyk(24%, 50%, 0%, 27%) | — | |
| HSV | hsv(271, 50%, 73%) | — | |
| HWB | hwb(271 37% 27%) | color: hwb(271 37% 27%) | |
| OKLCH | oklch(0.5717 0.1468 306.38) | color: oklch(0.5717 0.1468 306.38) | |
| Lab | lab(48.47 38.3 -42.16) | color: lab(48.47 38.3 -42.16) | |
| LCH | lch(48.47 56.96 312.25) | color: lch(48.47 56.96 312.25) |
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)
#7978A4 — rgb(121, 120, 164)
Deuteranopia (Green-blind)
#7C7F9F — rgb(124, 127, 159)
Tritanopia (Blue-blind)
#8C928E — rgb(140, 146, 142)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(271, 41%, 55%);
text
color: hsl(271, 41%, 55%);
border
border: 2px solid hsl(271, 41%, 55%);
gradient light
background: linear-gradient(to right, hsl(271, 41%, 75%), hsl(271, 41%, 55%));
gradient dark
background: linear-gradient(to right, hsl(271, 41%, 55%), hsl(271, 41%, 35%))
hex
background-color: #8E5DBB;
tailwind
bg-[hsl(271,41%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(271, 41%, 55%, 0.4);
css variable
--color-primary: hsl(271, 41%, 55%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(271, 41%, 55%)?
HEX: #8E5DBB | RGB: rgb(142, 93, 187) | CMYK: 24%, 50%, 0%, 27% | HSV: 271°, 50%, 73%. Copy any format from the conversion table above.
What colors go well with #8E5DBB?
The complementary color is HSL(91, 41%, 55%). For a triadic harmony, use hues 271°, 31°, and 151°. For analogous combinations, try hues 241° and 301°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(271, 41%, 55%) in CSS?
As HSL: color: hsl(271, 41%, 55%); — As HEX: color: #8E5DBB; — As RGB: color: rgb(142, 93, 187); — Tailwind CSS: bg-[hsl(271,41%,55%)] — CSS variable: --color-primary: hsl(271, 41%, 55%);