HSL(279, 65%, 37%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(279,65%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(279, 65%, 37%) | color: hsl(279, 65%, 37%) | |
| HEX | #71219C | color: #71219C | |
| RGB | rgb(113, 33, 156) | color: rgb(113, 33, 156) | |
| CMYK | cmyk(28%, 79%, 0%, 39%) | — | |
| HSV | hsv(279, 79%, 61%) | — | |
| HWB | hwb(279 13% 39%) | color: hwb(279 13% 39%) | |
| OKLCH | oklch(0.4364 0.1883 310.23) | color: oklch(0.4364 0.1883 310.23) | |
| Lab | lab(31.8 53.87 -50.68) | color: lab(31.8 53.87 -50.68) | |
| LCH | lch(31.8 73.96 316.75) | color: lch(31.8 73.96 316.75) |
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)
#4E4E7E — rgb(78, 78, 126)
Deuteranopia (Green-blind)
#535977 — rgb(83, 89, 119)
Tritanopia (Blue-blind)
#6D6762 — rgb(109, 103, 98)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(279, 65%, 37%);
text
color: hsl(279, 65%, 37%);
border
border: 2px solid hsl(279, 65%, 37%);
gradient light
background: linear-gradient(to right, hsl(279, 65%, 57%), hsl(279, 65%, 37%));
gradient dark
background: linear-gradient(to right, hsl(279, 65%, 37%), hsl(279, 65%, 17%))
hex
background-color: #71219C;
tailwind
bg-[hsl(279,65%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(279, 65%, 37%, 0.4);
css variable
--color-primary: hsl(279, 65%, 37%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(279, 65%, 37%)?
HEX: #71219C | RGB: rgb(113, 33, 156) | CMYK: 28%, 79%, 0%, 39% | HSV: 279°, 79%, 61%. Copy any format from the conversion table above.
What colors go well with #71219C?
The complementary color is HSL(99, 65%, 37%). For a triadic harmony, use hues 279°, 39°, and 159°. For analogous combinations, try hues 249° and 309°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(279, 65%, 37%) in CSS?
As HSL: color: hsl(279, 65%, 37%); — As HEX: color: #71219C; — As RGB: color: rgb(113, 33, 156); — Tailwind CSS: bg-[hsl(279,65%,37%)] — CSS variable: --color-primary: hsl(279, 65%, 37%);