HSL(276, 63%, 44%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(276,63%,44%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(276, 63%, 44%) | color: hsl(276, 63%, 44%) | |
| HEX | #7E2AB7 | color: #7E2AB7 | |
| RGB | rgb(126, 42, 183) | color: rgb(126, 42, 183) | |
| CMYK | cmyk(31%, 77%, 0%, 28%) | — | |
| HSV | hsv(276, 77%, 72%) | — | |
| HWB | hwb(276 17% 28%) | color: hwb(276 17% 28%) | |
| OKLCH | oklch(0.483 0.2084 307.14) | color: oklch(0.483 0.2084 307.14) | |
| Lab | lab(36.95 58.78 -58.43) | color: lab(36.95 58.78 -58.43) | |
| LCH | lch(36.95 82.88 315.17) | color: lch(36.95 82.88 315.17) |
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)
#5A5995 — rgb(90, 89, 149)
Deuteranopia (Green-blind)
#5F658D — rgb(95, 101, 141)
Tritanopia (Blue-blind)
#7A7A74 — rgb(122, 122, 116)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(276, 63%, 44%);
text
color: hsl(276, 63%, 44%);
border
border: 2px solid hsl(276, 63%, 44%);
gradient light
background: linear-gradient(to right, hsl(276, 63%, 64%), hsl(276, 63%, 44%));
gradient dark
background: linear-gradient(to right, hsl(276, 63%, 44%), hsl(276, 63%, 24%))
hex
background-color: #7E2AB7;
tailwind
bg-[hsl(276,63%,44%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(276, 63%, 44%, 0.4);
css variable
--color-primary: hsl(276, 63%, 44%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(276, 63%, 44%)?
HEX: #7E2AB7 | RGB: rgb(126, 42, 183) | CMYK: 31%, 77%, 0%, 28% | HSV: 276°, 77%, 72%. Copy any format from the conversion table above.
What colors go well with #7E2AB7?
The complementary color is HSL(96, 63%, 44%). 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, 63%, 44%) in CSS?
As HSL: color: hsl(276, 63%, 44%); — As HEX: color: #7E2AB7; — As RGB: color: rgb(126, 42, 183); — Tailwind CSS: bg-[hsl(276,63%,44%)] — CSS variable: --color-primary: hsl(276, 63%, 44%);