HSL(279, 95%, 24%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(279,95%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(279, 95%, 24%) | color: hsl(279, 95%, 24%) | |
| HEX | #4F0377 | color: #4F0377 | |
| RGB | rgb(79, 3, 119) | color: rgb(79, 3, 119) | |
| CMYK | cmyk(34%, 97%, 0%, 53%) | — | |
| HSV | hsv(279, 97%, 47%) | — | |
| HWB | hwb(279 1% 53%) | color: hwb(279 1% 53%) | |
| OKLCH | oklch(0.3357 0.1685 308.02) | color: oklch(0.3357 0.1685 308.02) | |
| Lab | lab(20.28 48.99 -46.59) | color: lab(20.28 48.99 -46.59) | |
| LCH | lch(20.28 67.61 316.44) | color: lch(20.28 67.61 316.44) |
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)
#2E2D5B — rgb(46, 45, 91)
Deuteranopia (Green-blind)
#333854 — rgb(51, 56, 84)
Tritanopia (Blue-blind)
#4B4540 — rgb(75, 69, 64)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(279, 95%, 24%);
text
color: hsl(279, 95%, 24%);
border
border: 2px solid hsl(279, 95%, 24%);
gradient light
background: linear-gradient(to right, hsl(279, 95%, 44%), hsl(279, 95%, 24%));
gradient dark
background: linear-gradient(to right, hsl(279, 95%, 24%), hsl(279, 95%, 4%))
hex
background-color: #4F0377;
tailwind
bg-[hsl(279,95%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(279, 95%, 24%, 0.4);
css variable
--color-primary: hsl(279, 95%, 24%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(279, 95%, 24%)?
HEX: #4F0377 | RGB: rgb(79, 3, 119) | CMYK: 34%, 97%, 0%, 53% | HSV: 279°, 97%, 47%. Copy any format from the conversion table above.
What colors go well with #4F0377?
The complementary color is HSL(99, 95%, 24%). 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, 95%, 24%) in CSS?
As HSL: color: hsl(279, 95%, 24%); — As HEX: color: #4F0377; — As RGB: color: rgb(79, 3, 119); — Tailwind CSS: bg-[hsl(279,95%,24%)] — CSS variable: --color-primary: hsl(279, 95%, 24%);