HSL(281, 60%, 41%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(281,60%,41%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(281, 60%, 41%) | color: hsl(281, 60%, 41%) | |
| HEX | #802AA7 | color: #802AA7 | |
| RGB | rgb(128, 42, 167) | color: rgb(128, 42, 167) | |
| CMYK | cmyk(23%, 75%, 0%, 35%) | — | |
| HSV | hsv(281, 75%, 65%) | — | |
| HWB | hwb(281 16% 35%) | color: hwb(281 16% 35%) | |
| OKLCH | oklch(0.4736 0.1938 312.75) | color: oklch(0.4736 0.1938 312.75) | |
| Lab | lab(36.05 55.7 -50.34) | color: lab(36.05 55.7 -50.34) | |
| LCH | lch(36.05 75.08 317.89) | color: lch(36.05 75.08 317.89) |
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)
#5B5A89 — rgb(91, 90, 137)
Deuteranopia (Green-blind)
#606682 — rgb(96, 102, 130)
Tritanopia (Blue-blind)
#7C716C — rgb(124, 113, 108)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(281, 60%, 41%);
text
color: hsl(281, 60%, 41%);
border
border: 2px solid hsl(281, 60%, 41%);
gradient light
background: linear-gradient(to right, hsl(281, 60%, 61%), hsl(281, 60%, 41%));
gradient dark
background: linear-gradient(to right, hsl(281, 60%, 41%), hsl(281, 60%, 21%))
hex
background-color: #802AA7;
tailwind
bg-[hsl(281,60%,41%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(281, 60%, 41%, 0.4);
css variable
--color-primary: hsl(281, 60%, 41%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(281, 60%, 41%)?
HEX: #802AA7 | RGB: rgb(128, 42, 167) | CMYK: 23%, 75%, 0%, 35% | HSV: 281°, 75%, 65%. Copy any format from the conversion table above.
What colors go well with #802AA7?
The complementary color is HSL(101, 60%, 41%). 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, 60%, 41%) in CSS?
As HSL: color: hsl(281, 60%, 41%); — As HEX: color: #802AA7; — As RGB: color: rgb(128, 42, 167); — Tailwind CSS: bg-[hsl(281,60%,41%)] — CSS variable: --color-primary: hsl(281, 60%, 41%);