HSL(275, 50%, 49%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(275,50%,49%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(275, 50%, 49%) | color: hsl(275, 50%, 49%) | |
| HEX | #873EBB | color: #873EBB | |
| RGB | rgb(135, 62, 187) | color: rgb(135, 62, 187) | |
| CMYK | cmyk(28%, 67%, 0%, 27%) | — | |
| HSV | hsv(275, 67%, 73%) | — | |
| HWB | hwb(275 24% 27%) | color: hwb(275 24% 27%) | |
| OKLCH | oklch(0.5189 0.1913 307.86) | color: oklch(0.5189 0.1913 307.86) | |
| Lab | lab(41.51 52.86 -53.34) | color: lab(41.51 52.86 -53.34) | |
| LCH | lch(41.51 75.1 314.74) | color: lch(41.51 75.1 314.74) |
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)
#67679D — rgb(103, 103, 157)
Deuteranopia (Green-blind)
#6C7196 — rgb(108, 113, 150)
Tritanopia (Blue-blind)
#838580 — rgb(131, 133, 128)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(275, 50%, 49%);
text
color: hsl(275, 50%, 49%);
border
border: 2px solid hsl(275, 50%, 49%);
gradient light
background: linear-gradient(to right, hsl(275, 50%, 69%), hsl(275, 50%, 49%));
gradient dark
background: linear-gradient(to right, hsl(275, 50%, 49%), hsl(275, 50%, 29%))
hex
background-color: #873EBB;
tailwind
bg-[hsl(275,50%,49%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(275, 50%, 49%, 0.4);
css variable
--color-primary: hsl(275, 50%, 49%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(275, 50%, 49%)?
HEX: #873EBB | RGB: rgb(135, 62, 187) | CMYK: 28%, 67%, 0%, 27% | HSV: 275°, 67%, 73%. Copy any format from the conversion table above.
What colors go well with #873EBB?
The complementary color is HSL(95, 50%, 49%). For a triadic harmony, use hues 275°, 35°, and 155°. For analogous combinations, try hues 245° and 305°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(275, 50%, 49%) in CSS?
As HSL: color: hsl(275, 50%, 49%); — As HEX: color: #873EBB; — As RGB: color: rgb(135, 62, 187); — Tailwind CSS: bg-[hsl(275,50%,49%)] — CSS variable: --color-primary: hsl(275, 50%, 49%);