HSL(279, 35%, 33%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(279,35%,33%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(279, 35%, 33%) | color: hsl(279, 35%, 33%) | |
| HEX | #5D3772 | color: #5D3772 | |
| RGB | rgb(93, 55, 114) | color: rgb(93, 55, 114) | |
| CMYK | cmyk(18%, 52%, 0%, 55%) | — | |
| HSV | hsv(279, 52%, 45%) | — | |
| HWB | hwb(279 22% 55%) | color: hwb(279 22% 55%) | |
| OKLCH | oklch(0.4092 0.1037 312.36) | color: oklch(0.4092 0.1037 312.36) | |
| Lab | lab(30.1 28.51 -27.49) | color: lab(30.1 28.51 -27.49) | |
| LCH | lch(30.1 39.6 316.04) | color: lch(30.1 39.6 316.04) |
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)
#4D4C64 — rgb(77, 76, 100)
Deuteranopia (Green-blind)
#4F5260 — rgb(79, 82, 96)
Tritanopia (Blue-blind)
#5B5856 — rgb(91, 88, 86)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(279, 35%, 33%);
text
color: hsl(279, 35%, 33%);
border
border: 2px solid hsl(279, 35%, 33%);
gradient light
background: linear-gradient(to right, hsl(279, 35%, 53%), hsl(279, 35%, 33%));
gradient dark
background: linear-gradient(to right, hsl(279, 35%, 33%), hsl(279, 35%, 13%))
hex
background-color: #5D3772;
tailwind
bg-[hsl(279,35%,33%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(279, 35%, 33%, 0.4);
css variable
--color-primary: hsl(279, 35%, 33%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(279, 35%, 33%)?
HEX: #5D3772 | RGB: rgb(93, 55, 114) | CMYK: 18%, 52%, 0%, 55% | HSV: 279°, 52%, 45%. Copy any format from the conversion table above.
What colors go well with #5D3772?
The complementary color is HSL(99, 35%, 33%). 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, 35%, 33%) in CSS?
As HSL: color: hsl(279, 35%, 33%); — As HEX: color: #5D3772; — As RGB: color: rgb(93, 55, 114); — Tailwind CSS: bg-[hsl(279,35%,33%)] — CSS variable: --color-primary: hsl(279, 35%, 33%);