HSL(281, 45%, 60%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(281,45%,60%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(281, 45%, 60%) | color: hsl(281, 45%, 60%) | |
| HEX | #AA6BC7 | color: #AA6BC7 | |
| RGB | rgb(170, 107, 199) | color: rgb(170, 107, 199) | |
| CMYK | cmyk(15%, 46%, 0%, 22%) | — | |
| HSV | hsv(281, 46%, 78%) | — | |
| HWB | hwb(281 42% 22%) | color: hwb(281 42% 22%) | |
| OKLCH | oklch(0.6313 0.1481 314.37) | color: oklch(0.6313 0.1481 314.37) | |
| Lab | lab(55.26 41.18 -38.14) | color: lab(55.26 41.18 -38.14) | |
| LCH | lch(55.26 56.13 317.19) | color: lch(55.26 56.13 317.19) |
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)
#8F8EB1 — rgb(143, 142, 177)
Deuteranopia (Green-blind)
#9297AB — rgb(146, 151, 171)
Tritanopia (Blue-blind)
#A79F9B — rgb(167, 159, 155)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(281, 45%, 60%);
text
color: hsl(281, 45%, 60%);
border
border: 2px solid hsl(281, 45%, 60%);
gradient light
background: linear-gradient(to right, hsl(281, 45%, 80%), hsl(281, 45%, 60%));
gradient dark
background: linear-gradient(to right, hsl(281, 45%, 60%), hsl(281, 45%, 40%))
hex
background-color: #AA6BC7;
tailwind
bg-[hsl(281,45%,60%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(281, 45%, 60%, 0.4);
css variable
--color-primary: hsl(281, 45%, 60%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(281, 45%, 60%)?
HEX: #AA6BC7 | RGB: rgb(170, 107, 199) | CMYK: 15%, 46%, 0%, 22% | HSV: 281°, 46%, 78%. Copy any format from the conversion table above.
What colors go well with #AA6BC7?
The complementary color is HSL(101, 45%, 60%). 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, 45%, 60%) in CSS?
As HSL: color: hsl(281, 45%, 60%); — As HEX: color: #AA6BC7; — As RGB: color: rgb(170, 107, 199); — Tailwind CSS: bg-[hsl(281,45%,60%)] — CSS variable: --color-primary: hsl(281, 45%, 60%);