HSL(290, 45%, 9%)
Very Dark Purple — Purple color
Adjust Color
Color Information
Color Name
Very Dark Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(290,45%,9%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(290, 45%, 9%) | color: hsl(290, 45%, 9%) | |
| HEX | #1E0D21 | color: #1E0D21 | |
| RGB | rgb(30, 13, 33) | color: rgb(30, 13, 33) | |
| CMYK | cmyk(9%, 61%, 0%, 87%) | — | |
| HSV | hsv(291, 61%, 13%) | — | |
| HWB | hwb(291 5% 87%) | color: hwb(291 5% 87%) | |
| OKLCH | oklch(0.1944 0.0458 321.44) | color: oklch(0.1944 0.0458 321.44) | |
| Lab | lab(6.09 12.65 -10.06) | color: lab(6.09 12.65 -10.06) | |
| LCH | lch(6.09 16.16 321.51) | color: lch(6.09 16.16 321.51) |
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)
#17161C — rgb(23, 22, 28)
Deuteranopia (Green-blind)
#18191B — rgb(24, 25, 27)
Tritanopia (Blue-blind)
#1D1818 — rgb(29, 24, 24)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(290, 45%, 9%);
text
color: hsl(290, 45%, 9%);
border
border: 2px solid hsl(290, 45%, 9%);
gradient light
background: linear-gradient(to right, hsl(290, 45%, 29%), hsl(290, 45%, 9%));
gradient dark
background: linear-gradient(to right, hsl(290, 45%, 9%), hsl(290, 45%, 0%))
hex
background-color: #1E0D21;
tailwind
bg-[hsl(290,45%,9%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(290, 45%, 9%, 0.4);
css variable
--color-primary: hsl(290, 45%, 9%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(290, 45%, 9%)?
HEX: #1E0D21 | RGB: rgb(30, 13, 33) | CMYK: 9%, 61%, 0%, 87% | HSV: 291°, 61%, 13%. Copy any format from the conversion table above.
What colors go well with #1E0D21?
The complementary color is HSL(110, 45%, 9%). For a triadic harmony, use hues 290°, 50°, and 170°. For analogous combinations, try hues 260° and 320°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(290, 45%, 9%) in CSS?
As HSL: color: hsl(290, 45%, 9%); — As HEX: color: #1E0D21; — As RGB: color: rgb(30, 13, 33); — Tailwind CSS: bg-[hsl(290,45%,9%)] — CSS variable: --color-primary: hsl(290, 45%, 9%);