HSL(276, 59%, 41%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(276,59%,41%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(276, 59%, 41%) | color: hsl(276, 59%, 41%) | |
| HEX | #752BA6 | color: #752BA6 | |
| RGB | rgb(117, 43, 166) | color: rgb(117, 43, 166) | |
| CMYK | cmyk(30%, 74%, 0%, 35%) | — | |
| HSV | hsv(276, 74%, 65%) | — | |
| HWB | hwb(276 17% 35%) | color: hwb(276 17% 35%) | |
| OKLCH | oklch(0.4592 0.1883 308) | color: oklch(0.4592 0.1883 308) | |
| Lab | lab(34.52 52.91 -52.29) | color: lab(34.52 52.91 -52.29) | |
| LCH | lch(34.52 74.39 315.34) | color: lch(34.52 74.39 315.34) |
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)
#555488 — rgb(85, 84, 136)
Deuteranopia (Green-blind)
#595F81 — rgb(89, 95, 129)
Tritanopia (Blue-blind)
#71716C — rgb(113, 113, 108)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(276, 59%, 41%);
text
color: hsl(276, 59%, 41%);
border
border: 2px solid hsl(276, 59%, 41%);
gradient light
background: linear-gradient(to right, hsl(276, 59%, 61%), hsl(276, 59%, 41%));
gradient dark
background: linear-gradient(to right, hsl(276, 59%, 41%), hsl(276, 59%, 21%))
hex
background-color: #752BA6;
tailwind
bg-[hsl(276,59%,41%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(276, 59%, 41%, 0.4);
css variable
--color-primary: hsl(276, 59%, 41%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(276, 59%, 41%)?
HEX: #752BA6 | RGB: rgb(117, 43, 166) | CMYK: 30%, 74%, 0%, 35% | HSV: 276°, 74%, 65%. Copy any format from the conversion table above.
What colors go well with #752BA6?
The complementary color is HSL(96, 59%, 41%). For a triadic harmony, use hues 276°, 36°, and 156°. For analogous combinations, try hues 246° and 306°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(276, 59%, 41%) in CSS?
As HSL: color: hsl(276, 59%, 41%); — As HEX: color: #752BA6; — As RGB: color: rgb(117, 43, 166); — Tailwind CSS: bg-[hsl(276,59%,41%)] — CSS variable: --color-primary: hsl(276, 59%, 41%);