HSL(279, 75%, 36%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(279,75%,36%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(279, 75%, 36%) | color: hsl(279, 75%, 36%) | |
| HEX | #7017A1 | color: #7017A1 | |
| RGB | rgb(112, 23, 161) | color: rgb(112, 23, 161) | |
| CMYK | cmyk(30%, 86%, 0%, 37%) | — | |
| HSV | hsv(279, 86%, 63%) | — | |
| HWB | hwb(279 9% 37%) | color: hwb(279 9% 37%) | |
| OKLCH | oklch(0.4314 0.2014 308.88) | color: oklch(0.4314 0.2014 308.88) | |
| Lab | lab(30.95 57.98 -55.11) | color: lab(30.95 57.98 -55.11) | |
| LCH | lch(30.95 79.99 316.45) | color: lch(30.95 79.99 316.45) |
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)
#494980 — rgb(73, 73, 128)
Deuteranopia (Green-blind)
#4F5578 — rgb(79, 85, 120)
Tritanopia (Blue-blind)
#6C655F — rgb(108, 101, 95)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(279, 75%, 36%);
text
color: hsl(279, 75%, 36%);
border
border: 2px solid hsl(279, 75%, 36%);
gradient light
background: linear-gradient(to right, hsl(279, 75%, 56%), hsl(279, 75%, 36%));
gradient dark
background: linear-gradient(to right, hsl(279, 75%, 36%), hsl(279, 75%, 16%))
hex
background-color: #7017A1;
tailwind
bg-[hsl(279,75%,36%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(279, 75%, 36%, 0.4);
css variable
--color-primary: hsl(279, 75%, 36%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(279, 75%, 36%)?
HEX: #7017A1 | RGB: rgb(112, 23, 161) | CMYK: 30%, 86%, 0%, 37% | HSV: 279°, 86%, 63%. Copy any format from the conversion table above.
What colors go well with #7017A1?
The complementary color is HSL(99, 75%, 36%). 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, 75%, 36%) in CSS?
As HSL: color: hsl(279, 75%, 36%); — As HEX: color: #7017A1; — As RGB: color: rgb(112, 23, 161); — Tailwind CSS: bg-[hsl(279,75%,36%)] — CSS variable: --color-primary: hsl(279, 75%, 36%);