HSL(282, 31%, 33%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(282,31%,33%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(282, 31%, 33%) | color: hsl(282, 31%, 33%) | |
| HEX | #5F3A6E | color: #5F3A6E | |
| RGB | rgb(95, 58, 110) | color: rgb(95, 58, 110) | |
| CMYK | cmyk(14%, 47%, 0%, 57%) | — | |
| HSV | hsv(283, 47%, 43%) | — | |
| HWB | hwb(283 23% 57%) | color: hwb(283 23% 57%) | |
| OKLCH | oklch(0.4146 0.0941 315.61) | color: oklch(0.4146 0.0941 315.61) | |
| Lab | lab(30.84 26.38 -23.76) | color: lab(30.84 26.38 -23.76) | |
| LCH | lch(30.84 35.5 317.99) | color: lch(30.84 35.5 317.99) |
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)
#4F4F61 — rgb(79, 79, 97)
Deuteranopia (Green-blind)
#51545E — rgb(81, 84, 94)
Tritanopia (Blue-blind)
#5D5755 — rgb(93, 87, 85)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(282, 31%, 33%);
text
color: hsl(282, 31%, 33%);
border
border: 2px solid hsl(282, 31%, 33%);
gradient light
background: linear-gradient(to right, hsl(282, 31%, 53%), hsl(282, 31%, 33%));
gradient dark
background: linear-gradient(to right, hsl(282, 31%, 33%), hsl(282, 31%, 13%))
hex
background-color: #5F3A6E;
tailwind
bg-[hsl(282,31%,33%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(282, 31%, 33%, 0.4);
css variable
--color-primary: hsl(282, 31%, 33%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(282, 31%, 33%)?
HEX: #5F3A6E | RGB: rgb(95, 58, 110) | CMYK: 14%, 47%, 0%, 57% | HSV: 283°, 47%, 43%. Copy any format from the conversion table above.
What colors go well with #5F3A6E?
The complementary color is HSL(102, 31%, 33%). For a triadic harmony, use hues 282°, 42°, and 162°. For analogous combinations, try hues 252° and 312°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(282, 31%, 33%) in CSS?
As HSL: color: hsl(282, 31%, 33%); — As HEX: color: #5F3A6E; — As RGB: color: rgb(95, 58, 110); — Tailwind CSS: bg-[hsl(282,31%,33%)] — CSS variable: --color-primary: hsl(282, 31%, 33%);