HSL(283, 41%, 22%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(283,41%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(283, 41%, 22%) | color: hsl(283, 41%, 22%) | |
| HEX | #42214F | color: #42214F | |
| RGB | rgb(66, 33, 79) | color: rgb(66, 33, 79) | |
| CMYK | cmyk(16%, 58%, 0%, 69%) | — | |
| HSV | hsv(283, 58%, 31%) | — | |
| HWB | hwb(283 13% 69%) | color: hwb(283 13% 69%) | |
| OKLCH | oklch(0.3144 0.0874 315.59) | color: oklch(0.3144 0.0874 315.59) | |
| Lab | lab(19.27 24.77 -21.96) | color: lab(19.27 24.77 -21.96) | |
| LCH | lch(19.27 33.1 318.44) | color: lch(19.27 33.1 318.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)
#343344 — rgb(52, 51, 68)
Deuteranopia (Green-blind)
#363841 — rgb(54, 56, 65)
Tritanopia (Blue-blind)
#403B39 — rgb(64, 59, 57)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(283, 41%, 22%);
text
color: hsl(283, 41%, 22%);
border
border: 2px solid hsl(283, 41%, 22%);
gradient light
background: linear-gradient(to right, hsl(283, 41%, 42%), hsl(283, 41%, 22%));
gradient dark
background: linear-gradient(to right, hsl(283, 41%, 22%), hsl(283, 41%, 2%))
hex
background-color: #42214F;
tailwind
bg-[hsl(283,41%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(283, 41%, 22%, 0.4);
css variable
--color-primary: hsl(283, 41%, 22%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(283, 41%, 22%)?
HEX: #42214F | RGB: rgb(66, 33, 79) | CMYK: 16%, 58%, 0%, 69% | HSV: 283°, 58%, 31%. Copy any format from the conversion table above.
What colors go well with #42214F?
The complementary color is HSL(103, 41%, 22%). For a triadic harmony, use hues 283°, 43°, and 163°. For analogous combinations, try hues 253° and 313°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(283, 41%, 22%) in CSS?
As HSL: color: hsl(283, 41%, 22%); — As HEX: color: #42214F; — As RGB: color: rgb(66, 33, 79); — Tailwind CSS: bg-[hsl(283,41%,22%)] — CSS variable: --color-primary: hsl(283, 41%, 22%);