HSL(281, 74%, 54%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(281,74%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(281, 74%, 54%) | color: hsl(281, 74%, 54%) | |
| HEX | #AA33E1 | color: #AA33E1 | |
| RGB | rgb(170, 51, 225) | color: rgb(170, 51, 225) | |
| CMYK | cmyk(24%, 77%, 0%, 12%) | — | |
| HSV | hsv(281, 77%, 88%) | — | |
| HWB | hwb(281 20% 12%) | color: hwb(281 20% 12%) | |
| OKLCH | oklch(0.5793 0.2498 312.1) | color: oklch(0.5793 0.2498 312.1) | |
| Lab | lab(47.43 72.05 -65.46) | color: lab(47.43 72.05 -65.46) | |
| LCH | lch(47.43 97.35 317.74) | color: lch(47.43 97.35 317.74) |
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)
#7675B7 — rgb(118, 117, 183)
Deuteranopia (Green-blind)
#7D86AD — rgb(125, 134, 173)
Tritanopia (Blue-blind)
#A4968E — rgb(164, 150, 142)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(281, 74%, 54%);
text
color: hsl(281, 74%, 54%);
border
border: 2px solid hsl(281, 74%, 54%);
gradient light
background: linear-gradient(to right, hsl(281, 74%, 74%), hsl(281, 74%, 54%));
gradient dark
background: linear-gradient(to right, hsl(281, 74%, 54%), hsl(281, 74%, 34%))
hex
background-color: #AA33E1;
tailwind
bg-[hsl(281,74%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(281, 74%, 54%, 0.4);
css variable
--color-primary: hsl(281, 74%, 54%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(281, 74%, 54%)?
HEX: #AA33E1 | RGB: rgb(170, 51, 225) | CMYK: 24%, 77%, 0%, 12% | HSV: 281°, 77%, 88%. Copy any format from the conversion table above.
What colors go well with #AA33E1?
The complementary color is HSL(101, 74%, 54%). 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, 74%, 54%) in CSS?
As HSL: color: hsl(281, 74%, 54%); — As HEX: color: #AA33E1; — As RGB: color: rgb(170, 51, 225); — Tailwind CSS: bg-[hsl(281,74%,54%)] — CSS variable: --color-primary: hsl(281, 74%, 54%);