HSL(301, 32%, 9%)
Very Dark Purple — Purple color
Adjust Color
Color Information
Color Name
Very Dark Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(301,32%,9%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(301, 32%, 9%) | color: hsl(301, 32%, 9%) | |
| HEX | #1E101E | color: #1E101E | |
| RGB | rgb(30, 16, 30) | color: rgb(30, 16, 30) | |
| CMYK | cmyk(0%, 47%, 0%, 88%) | — | |
| HSV | hsv(300, 47%, 12%) | — | |
| HWB | hwb(300 6% 88%) | color: hwb(300 6% 88%) | |
| OKLCH | oklch(0.1991 0.0346 326.78) | color: oklch(0.1991 0.0346 326.78) | |
| Lab | lab(6.69 10.1 -6.84) | color: lab(6.69 10.1 -6.84) | |
| LCH | lch(6.69 12.2 325.89) | color: lch(6.69 12.2 325.89) |
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)
#18181B — rgb(24, 24, 27)
Deuteranopia (Green-blind)
#191A1A — rgb(25, 26, 26)
Tritanopia (Blue-blind)
#1D1817 — rgb(29, 24, 23)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(301, 32%, 9%);
text
color: hsl(301, 32%, 9%);
border
border: 2px solid hsl(301, 32%, 9%);
gradient light
background: linear-gradient(to right, hsl(301, 32%, 29%), hsl(301, 32%, 9%));
gradient dark
background: linear-gradient(to right, hsl(301, 32%, 9%), hsl(301, 32%, 0%))
hex
background-color: #1E101E;
tailwind
bg-[hsl(301,32%,9%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(301, 32%, 9%, 0.4);
css variable
--color-primary: hsl(301, 32%, 9%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(301, 32%, 9%)?
HEX: #1E101E | RGB: rgb(30, 16, 30) | CMYK: 0%, 47%, 0%, 88% | HSV: 300°, 47%, 12%. Copy any format from the conversion table above.
What colors go well with #1E101E?
The complementary color is HSL(121, 32%, 9%). For a triadic harmony, use hues 301°, 61°, and 181°. For analogous combinations, try hues 271° and 331°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(301, 32%, 9%) in CSS?
As HSL: color: hsl(301, 32%, 9%); — As HEX: color: #1E101E; — As RGB: color: rgb(30, 16, 30); — Tailwind CSS: bg-[hsl(301,32%,9%)] — CSS variable: --color-primary: hsl(301, 32%, 9%);