HSL(281, 57%, 71%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(281,57%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(281, 57%, 71%) | color: hsl(281, 57%, 71%) | |
| HEX | #C58BDF | color: #C58BDF | |
| RGB | rgb(197, 139, 223) | color: rgb(197, 139, 223) | |
| CMYK | cmyk(12%, 38%, 0%, 13%) | — | |
| HSV | hsv(281, 38%, 87%) | — | |
| HWB | hwb(281 54% 13%) | color: hwb(281 54% 13%) | |
| OKLCH | oklch(0.7239 0.1331 314.91) | color: oklch(0.7239 0.1331 314.91) | |
| Lab | lab(66.26 36.77 -34.23) | color: lab(66.26 36.77 -34.23) | |
| LCH | lch(66.26 50.24 317.05) | color: lch(66.26 50.24 317.05) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#ACABCB — rgb(172, 171, 203)
Deuteranopia (Green-blind)
#AFB4C6 — rgb(175, 180, 198)
Tritanopia (Blue-blind)
#C2BBB7 — rgb(194, 187, 183)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(281, 57%, 71%);
text
color: hsl(281, 57%, 71%);
border
border: 2px solid hsl(281, 57%, 71%);
gradient light
background: linear-gradient(to right, hsl(281, 57%, 91%), hsl(281, 57%, 71%));
gradient dark
background: linear-gradient(to right, hsl(281, 57%, 71%), hsl(281, 57%, 51%))
hex
background-color: #C58BDF;
tailwind
bg-[hsl(281,57%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(281, 57%, 71%, 0.4);
css variable
--color-primary: hsl(281, 57%, 71%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(281, 57%, 71%)?
HEX: #C58BDF | RGB: rgb(197, 139, 223) | CMYK: 12%, 38%, 0%, 13% | HSV: 281°, 38%, 87%. Copy any format from the conversion table above.
What colors go well with #C58BDF?
The complementary color is HSL(101, 57%, 71%). For a triadic harmony, use hues 281°, 41°, and 161°. For analogous combinations, try hues 251° and 311°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(281, 57%, 71%) in CSS?
As HSL: color: hsl(281, 57%, 71%); — As HEX: color: #C58BDF; — As RGB: color: rgb(197, 139, 223); — Tailwind CSS: bg-[hsl(281,57%,71%)] — CSS variable: --color-primary: hsl(281, 57%, 71%);