HSL(281, 70%, 57%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(281,70%,57%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(281, 70%, 57%) | color: hsl(281, 70%, 57%) | |
| HEX | #AD45DE | color: #AD45DE | |
| RGB | rgb(173, 69, 222) | color: rgb(173, 69, 222) | |
| CMYK | cmyk(22%, 69%, 0%, 13%) | — | |
| HSV | hsv(281, 69%, 87%) | — | |
| HWB | hwb(281 27% 13%) | color: hwb(281 27% 13%) | |
| OKLCH | oklch(0.5977 0.2289 312.73) | color: oklch(0.5977 0.2289 312.73) | |
| Lab | lab(50 65.33 -59.59) | color: lab(50 65.33 -59.59) | |
| LCH | lch(50 88.42 317.63) | color: lch(50 88.42 317.63) |
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)
#807FB9 — rgb(128, 127, 185)
Deuteranopia (Green-blind)
#868EB0 — rgb(134, 142, 176)
Tritanopia (Blue-blind)
#A89C95 — rgb(168, 156, 149)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(281, 70%, 57%);
text
color: hsl(281, 70%, 57%);
border
border: 2px solid hsl(281, 70%, 57%);
gradient light
background: linear-gradient(to right, hsl(281, 70%, 77%), hsl(281, 70%, 57%));
gradient dark
background: linear-gradient(to right, hsl(281, 70%, 57%), hsl(281, 70%, 37%))
hex
background-color: #AD45DE;
tailwind
bg-[hsl(281,70%,57%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(281, 70%, 57%, 0.4);
css variable
--color-primary: hsl(281, 70%, 57%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(281, 70%, 57%)?
HEX: #AD45DE | RGB: rgb(173, 69, 222) | CMYK: 22%, 69%, 0%, 13% | HSV: 281°, 69%, 87%. Copy any format from the conversion table above.
What colors go well with #AD45DE?
The complementary color is HSL(101, 70%, 57%). 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, 70%, 57%) in CSS?
As HSL: color: hsl(281, 70%, 57%); — As HEX: color: #AD45DE; — As RGB: color: rgb(173, 69, 222); — Tailwind CSS: bg-[hsl(281,70%,57%)] — CSS variable: --color-primary: hsl(281, 70%, 57%);