HSL(293, 29%, 4%)
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,29%,4%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(293, 29%, 4%) | color: hsl(293, 29%, 4%) | |
| HEX | #0C070D | color: #0C070D | |
| RGB | rgb(12, 7, 13) | color: rgb(12, 7, 13) | |
| CMYK | cmyk(8%, 46%, 0%, 95%) | — | |
| HSV | hsv(290, 46%, 5%) | — | |
| HWB | hwb(290 3% 95%) | color: hwb(290 3% 95%) | |
| OKLCH | oklch(0.1392 0.0162 321) | color: oklch(0.1392 0.0162 321) | |
| Lab | lab(2.34 2.21 -1.9) | color: lab(2.34 2.21 -1.9) | |
| LCH | lch(2.34 2.91 319.31) | color: lch(2.34 2.91 319.31) |
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)
#0A0A0C — rgb(10, 10, 12)
Deuteranopia (Green-blind)
#0A0B0B — rgb(10, 11, 11)
Tritanopia (Blue-blind)
#0C0A0A — rgb(12, 10, 10)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(293, 29%, 4%);
text
color: hsl(293, 29%, 4%);
border
border: 2px solid hsl(293, 29%, 4%);
gradient light
background: linear-gradient(to right, hsl(293, 29%, 24%), hsl(293, 29%, 4%));
gradient dark
background: linear-gradient(to right, hsl(293, 29%, 4%), hsl(293, 29%, 0%))
hex
background-color: #0C070D;
tailwind
bg-[hsl(293,29%,4%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(293, 29%, 4%, 0.4);
css variable
--color-primary: hsl(293, 29%, 4%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(293, 29%, 4%)?
HEX: #0C070D | RGB: rgb(12, 7, 13) | CMYK: 8%, 46%, 0%, 95% | HSV: 290°, 46%, 5%. Copy any format from the conversion table above.
What colors go well with #0C070D?
The complementary color is HSL(113, 29%, 4%). 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, 29%, 4%) in CSS?
As HSL: color: hsl(293, 29%, 4%); — As HEX: color: #0C070D; — As RGB: color: rgb(12, 7, 13); — Tailwind CSS: bg-[hsl(293,29%,4%)] — CSS variable: --color-primary: hsl(293, 29%, 4%);