HSL(271, 58%, 55%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(271,58%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(271, 58%, 55%) | color: hsl(271, 58%, 55%) | |
| HEX | #8E4ACF | color: #8E4ACF | |
| RGB | rgb(142, 74, 207) | color: rgb(142, 74, 207) | |
| CMYK | cmyk(31%, 64%, 0%, 19%) | — | |
| HSV | hsv(271, 64%, 81%) | — | |
| HWB | hwb(271 29% 19%) | color: hwb(271 29% 19%) | |
| OKLCH | oklch(0.5563 0.1985 304.15) | color: oklch(0.5563 0.1985 304.15) | |
| Lab | lab(45.84 53.21 -57.92) | color: lab(45.84 53.21 -57.92) | |
| LCH | lch(45.84 78.65 312.57) | color: lch(45.84 78.65 312.57) |
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)
#7170AF — rgb(113, 112, 175)
Deuteranopia (Green-blind)
#757AA7 — rgb(117, 122, 167)
Tritanopia (Blue-blind)
#8B9590 — rgb(139, 149, 144)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(271, 58%, 55%);
text
color: hsl(271, 58%, 55%);
border
border: 2px solid hsl(271, 58%, 55%);
gradient light
background: linear-gradient(to right, hsl(271, 58%, 75%), hsl(271, 58%, 55%));
gradient dark
background: linear-gradient(to right, hsl(271, 58%, 55%), hsl(271, 58%, 35%))
hex
background-color: #8E4ACF;
tailwind
bg-[hsl(271,58%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(271, 58%, 55%, 0.4);
css variable
--color-primary: hsl(271, 58%, 55%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(271, 58%, 55%)?
HEX: #8E4ACF | RGB: rgb(142, 74, 207) | CMYK: 31%, 64%, 0%, 19% | HSV: 271°, 64%, 81%. Copy any format from the conversion table above.
What colors go well with #8E4ACF?
The complementary color is HSL(91, 58%, 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, 58%, 55%) in CSS?
As HSL: color: hsl(271, 58%, 55%); — As HEX: color: #8E4ACF; — As RGB: color: rgb(142, 74, 207); — Tailwind CSS: bg-[hsl(271,58%,55%)] — CSS variable: --color-primary: hsl(271, 58%, 55%);