HSL(276, 45%, 45%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(276,45%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(276, 45%, 45%) | color: hsl(276, 45%, 45%) | |
| HEX | #7D3FA6 | color: #7D3FA6 | |
| RGB | rgb(125, 63, 166) | color: rgb(125, 63, 166) | |
| CMYK | cmyk(25%, 62%, 0%, 35%) | — | |
| HSV | hsv(276, 62%, 65%) | — | |
| HWB | hwb(276 25% 35%) | color: hwb(276 25% 35%) | |
| OKLCH | oklch(0.4937 0.1641 309.4) | color: oklch(0.4937 0.1641 309.4) | |
| Lab | lab(39.02 45.22 -44.99) | color: lab(39.02 45.22 -44.99) | |
| LCH | lch(39.02 63.79 315.15) | color: lch(39.02 63.79 315.15) |
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)
#62628D — rgb(98, 98, 141)
Deuteranopia (Green-blind)
#666A87 — rgb(102, 106, 135)
Tritanopia (Blue-blind)
#7A7975 — rgb(122, 121, 117)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(276, 45%, 45%);
text
color: hsl(276, 45%, 45%);
border
border: 2px solid hsl(276, 45%, 45%);
gradient light
background: linear-gradient(to right, hsl(276, 45%, 65%), hsl(276, 45%, 45%));
gradient dark
background: linear-gradient(to right, hsl(276, 45%, 45%), hsl(276, 45%, 25%))
hex
background-color: #7D3FA6;
tailwind
bg-[hsl(276,45%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(276, 45%, 45%, 0.4);
css variable
--color-primary: hsl(276, 45%, 45%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(276, 45%, 45%)?
HEX: #7D3FA6 | RGB: rgb(125, 63, 166) | CMYK: 25%, 62%, 0%, 35% | HSV: 276°, 62%, 65%. Copy any format from the conversion table above.
What colors go well with #7D3FA6?
The complementary color is HSL(96, 45%, 45%). 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, 45%, 45%) in CSS?
As HSL: color: hsl(276, 45%, 45%); — As HEX: color: #7D3FA6; — As RGB: color: rgb(125, 63, 166); — Tailwind CSS: bg-[hsl(276,45%,45%)] — CSS variable: --color-primary: hsl(276, 45%, 45%);