HSL(269, 86%, 33%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(269,86%,33%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(269, 86%, 33%) | color: hsl(269, 86%, 33%) | |
| HEX | #520C9D | color: #520C9D | |
| RGB | rgb(82, 12, 157) | color: rgb(82, 12, 157) | |
| CMYK | cmyk(48%, 92%, 0%, 38%) | — | |
| HSV | hsv(269, 92%, 62%) | — | |
| HWB | hwb(269 5% 38%) | color: hwb(269 5% 38%) | |
| OKLCH | oklch(0.3818 0.1991 296.26) | color: oklch(0.3818 0.1991 296.26) | |
| Lab | lab(25.23 55.9 -62.22) | color: lab(25.23 55.9 -62.22) | |
| LCH | lch(25.23 83.64 311.94) | color: lch(25.23 83.64 311.94) |
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)
#34337A — rgb(52, 51, 122)
Deuteranopia (Green-blind)
#383D72 — rgb(56, 61, 114)
Tritanopia (Blue-blind)
#4F5E58 — rgb(79, 94, 88)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(269, 86%, 33%);
text
color: hsl(269, 86%, 33%);
border
border: 2px solid hsl(269, 86%, 33%);
gradient light
background: linear-gradient(to right, hsl(269, 86%, 53%), hsl(269, 86%, 33%));
gradient dark
background: linear-gradient(to right, hsl(269, 86%, 33%), hsl(269, 86%, 13%))
hex
background-color: #520C9D;
tailwind
bg-[hsl(269,86%,33%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(269, 86%, 33%, 0.4);
css variable
--color-primary: hsl(269, 86%, 33%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(269, 86%, 33%)?
HEX: #520C9D | RGB: rgb(82, 12, 157) | CMYK: 48%, 92%, 0%, 38% | HSV: 269°, 92%, 62%. Copy any format from the conversion table above.
What colors go well with #520C9D?
The complementary color is HSL(89, 86%, 33%). For a triadic harmony, use hues 269°, 29°, and 149°. For analogous combinations, try hues 239° and 299°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(269, 86%, 33%) in CSS?
As HSL: color: hsl(269, 86%, 33%); — As HEX: color: #520C9D; — As RGB: color: rgb(82, 12, 157); — Tailwind CSS: bg-[hsl(269,86%,33%)] — CSS variable: --color-primary: hsl(269, 86%, 33%);