HSL(293, 35%, 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(293,35%,9%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(293, 35%, 9%) | color: hsl(293, 35%, 9%) | |
| HEX | #1D0F1F | color: #1D0F1F | |
| RGB | rgb(29, 15, 31) | color: rgb(29, 15, 31) | |
| CMYK | cmyk(6%, 52%, 0%, 88%) | — | |
| HSV | hsv(293, 52%, 12%) | — | |
| HWB | hwb(293 6% 88%) | color: hwb(293 6% 88%) | |
| OKLCH | oklch(0.1959 0.0375 322.36) | color: oklch(0.1959 0.0375 322.36) | |
| Lab | lab(6.34 10.45 -8.15) | color: lab(6.34 10.45 -8.15) | |
| LCH | lch(6.34 13.25 322.05) | color: lch(6.34 13.25 322.05) |
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)
#17171B — rgb(23, 23, 27)
Deuteranopia (Green-blind)
#18191A — rgb(24, 25, 26)
Tritanopia (Blue-blind)
#1C1817 — rgb(28, 24, 23)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(293, 35%, 9%);
text
color: hsl(293, 35%, 9%);
border
border: 2px solid hsl(293, 35%, 9%);
gradient light
background: linear-gradient(to right, hsl(293, 35%, 29%), hsl(293, 35%, 9%));
gradient dark
background: linear-gradient(to right, hsl(293, 35%, 9%), hsl(293, 35%, 0%))
hex
background-color: #1D0F1F;
tailwind
bg-[hsl(293,35%,9%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(293, 35%, 9%, 0.4);
css variable
--color-primary: hsl(293, 35%, 9%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(293, 35%, 9%)?
HEX: #1D0F1F | RGB: rgb(29, 15, 31) | CMYK: 6%, 52%, 0%, 88% | HSV: 293°, 52%, 12%. Copy any format from the conversion table above.
What colors go well with #1D0F1F?
The complementary color is HSL(113, 35%, 9%). For a triadic harmony, use hues 293°, 53°, and 173°. For analogous combinations, try hues 263° and 323°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(293, 35%, 9%) in CSS?
As HSL: color: hsl(293, 35%, 9%); — As HEX: color: #1D0F1F; — As RGB: color: rgb(29, 15, 31); — Tailwind CSS: bg-[hsl(293,35%,9%)] — CSS variable: --color-primary: hsl(293, 35%, 9%);