HSL(282, 63%, 20%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(282,63%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(282, 63%, 20%) | color: hsl(282, 63%, 20%) | |
| HEX | #401353 | color: #401353 | |
| RGB | rgb(64, 19, 83) | color: rgb(64, 19, 83) | |
| CMYK | cmyk(23%, 77%, 0%, 67%) | — | |
| HSV | hsv(282, 77%, 33%) | — | |
| HWB | hwb(282 8% 67%) | color: hwb(282 8% 67%) | |
| OKLCH | oklch(0.2939 0.1144 313.86) | color: oklch(0.2939 0.1144 313.86) | |
| Lab | lab(16.41 32.89 -29.26) | color: lab(16.41 32.89 -29.26) | |
| LCH | lch(16.41 44.02 318.34) | color: lch(16.41 44.02 318.34) |
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)
#2D2C44 — rgb(45, 44, 68)
Deuteranopia (Green-blind)
#2F3340 — rgb(47, 51, 64)
Tritanopia (Blue-blind)
#3E3735 — rgb(62, 55, 53)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(282, 63%, 20%);
text
color: hsl(282, 63%, 20%);
border
border: 2px solid hsl(282, 63%, 20%);
gradient light
background: linear-gradient(to right, hsl(282, 63%, 40%), hsl(282, 63%, 20%));
gradient dark
background: linear-gradient(to right, hsl(282, 63%, 20%), hsl(282, 63%, 0%))
hex
background-color: #401353;
tailwind
bg-[hsl(282,63%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(282, 63%, 20%, 0.4);
css variable
--color-primary: hsl(282, 63%, 20%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(282, 63%, 20%)?
HEX: #401353 | RGB: rgb(64, 19, 83) | CMYK: 23%, 77%, 0%, 67% | HSV: 282°, 77%, 33%. Copy any format from the conversion table above.
What colors go well with #401353?
The complementary color is HSL(102, 63%, 20%). 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, 63%, 20%) in CSS?
As HSL: color: hsl(282, 63%, 20%); — As HEX: color: #401353; — As RGB: color: rgb(64, 19, 83); — Tailwind CSS: bg-[hsl(282,63%,20%)] — CSS variable: --color-primary: hsl(282, 63%, 20%);