HSL(276, 63%, 56%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(276,63%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(276, 63%, 56%) | color: hsl(276, 63%, 56%) | |
| HEX | #9D48D5 | color: #9D48D5 | |
| RGB | rgb(157, 72, 213) | color: rgb(157, 72, 213) | |
| CMYK | cmyk(26%, 66%, 0%, 16%) | — | |
| HSV | hsv(276, 66%, 84%) | — | |
| HWB | hwb(276 29% 16%) | color: hwb(276 29% 16%) | |
| OKLCH | oklch(0.5754 0.2114 308.9) | color: oklch(0.5754 0.2114 308.9) | |
| Lab | lab(47.76 58.77 -58.17) | color: lab(47.76 58.77 -58.17) | |
| LCH | lch(47.76 82.69 315.29) | color: lch(47.76 82.69 315.29) |
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)
#7877B3 — rgb(120, 119, 179)
Deuteranopia (Green-blind)
#7D84AB — rgb(125, 132, 171)
Tritanopia (Blue-blind)
#999892 — rgb(153, 152, 146)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(276, 63%, 56%);
text
color: hsl(276, 63%, 56%);
border
border: 2px solid hsl(276, 63%, 56%);
gradient light
background: linear-gradient(to right, hsl(276, 63%, 76%), hsl(276, 63%, 56%));
gradient dark
background: linear-gradient(to right, hsl(276, 63%, 56%), hsl(276, 63%, 36%))
hex
background-color: #9D48D5;
tailwind
bg-[hsl(276,63%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(276, 63%, 56%, 0.4);
css variable
--color-primary: hsl(276, 63%, 56%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(276, 63%, 56%)?
HEX: #9D48D5 | RGB: rgb(157, 72, 213) | CMYK: 26%, 66%, 0%, 16% | HSV: 276°, 66%, 84%. Copy any format from the conversion table above.
What colors go well with #9D48D5?
The complementary color is HSL(96, 63%, 56%). 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%, 56%) in CSS?
As HSL: color: hsl(276, 63%, 56%); — As HEX: color: #9D48D5; — As RGB: color: rgb(157, 72, 213); — Tailwind CSS: bg-[hsl(276,63%,56%)] — CSS variable: --color-primary: hsl(276, 63%, 56%);