HSL(279, 40%, 32%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(279,40%,32%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(279, 40%, 32%) | color: hsl(279, 40%, 32%) | |
| HEX | #5B3172 | color: #5B3172 | |
| RGB | rgb(91, 49, 114) | color: rgb(91, 49, 114) | |
| CMYK | cmyk(20%, 57%, 0%, 55%) | — | |
| HSV | hsv(279, 57%, 45%) | — | |
| HWB | hwb(279 19% 55%) | color: hwb(279 19% 55%) | |
| OKLCH | oklch(0.3966 0.1135 312.16) | color: oklch(0.3966 0.1135 312.16) | |
| Lab | lab(28.47 31.45 -30.07) | color: lab(28.47 31.45 -30.07) | |
| LCH | lch(28.47 43.51 316.29) | color: lch(28.47 43.51 316.29) |
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)
#494862 — rgb(73, 72, 98)
Deuteranopia (Green-blind)
#4B4E5F — rgb(75, 78, 95)
Tritanopia (Blue-blind)
#595653 — rgb(89, 86, 83)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(279, 40%, 32%);
text
color: hsl(279, 40%, 32%);
border
border: 2px solid hsl(279, 40%, 32%);
gradient light
background: linear-gradient(to right, hsl(279, 40%, 52%), hsl(279, 40%, 32%));
gradient dark
background: linear-gradient(to right, hsl(279, 40%, 32%), hsl(279, 40%, 12%))
hex
background-color: #5B3172;
tailwind
bg-[hsl(279,40%,32%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(279, 40%, 32%, 0.4);
css variable
--color-primary: hsl(279, 40%, 32%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(279, 40%, 32%)?
HEX: #5B3172 | RGB: rgb(91, 49, 114) | CMYK: 20%, 57%, 0%, 55% | HSV: 279°, 57%, 45%. Copy any format from the conversion table above.
What colors go well with #5B3172?
The complementary color is HSL(99, 40%, 32%). 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, 40%, 32%) in CSS?
As HSL: color: hsl(279, 40%, 32%); — As HEX: color: #5B3172; — As RGB: color: rgb(91, 49, 114); — Tailwind CSS: bg-[hsl(279,40%,32%)] — CSS variable: --color-primary: hsl(279, 40%, 32%);