HSL(261, 20%, 53%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(261,20%,53%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(261, 20%, 53%) | color: hsl(261, 20%, 53%) | |
| HEX | #806F9F | color: #806F9F | |
| RGB | rgb(128, 111, 159) | color: rgb(128, 111, 159) | |
| CMYK | cmyk(19%, 30%, 0%, 38%) | — | |
| HSV | hsv(261, 30%, 62%) | — | |
| HWB | hwb(261 43% 38%) | color: hwb(261 43% 38%) | |
| OKLCH | oklch(0.5759 0.0748 300.32) | color: oklch(0.5759 0.0748 300.32) | |
| Lab | lab(50.05 16.82 -23.46) | color: lab(50.05 16.82 -23.46) | |
| LCH | lch(50.05 28.87 305.64) | color: lch(50.05 28.87 305.64) |
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)
#797893 — rgb(121, 120, 147)
Deuteranopia (Green-blind)
#7A7B91 — rgb(122, 123, 145)
Tritanopia (Blue-blind)
#7F8A88 — rgb(127, 138, 136)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(261, 20%, 53%);
text
color: hsl(261, 20%, 53%);
border
border: 2px solid hsl(261, 20%, 53%);
gradient light
background: linear-gradient(to right, hsl(261, 20%, 73%), hsl(261, 20%, 53%));
gradient dark
background: linear-gradient(to right, hsl(261, 20%, 53%), hsl(261, 20%, 33%))
hex
background-color: #806F9F;
tailwind
bg-[hsl(261,20%,53%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(261, 20%, 53%, 0.4);
css variable
--color-primary: hsl(261, 20%, 53%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(261, 20%, 53%)?
HEX: #806F9F | RGB: rgb(128, 111, 159) | CMYK: 19%, 30%, 0%, 38% | HSV: 261°, 30%, 62%. Copy any format from the conversion table above.
What colors go well with #806F9F?
The complementary color is HSL(81, 20%, 53%). For a triadic harmony, use hues 261°, 21°, and 141°. For analogous combinations, try hues 231° and 291°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(261, 20%, 53%) in CSS?
As HSL: color: hsl(261, 20%, 53%); — As HEX: color: #806F9F; — As RGB: color: rgb(128, 111, 159); — Tailwind CSS: bg-[hsl(261,20%,53%)] — CSS variable: --color-primary: hsl(261, 20%, 53%);