HSL(312, 70%, 3%)
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(312,70%,3%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(312, 70%, 3%) | color: hsl(312, 70%, 3%) | |
| HEX | #0D020B | color: #0D020B | |
| RGB | rgb(13, 2, 11) | color: rgb(13, 2, 11) | |
| CMYK | cmyk(0%, 85%, 15%, 95%) | — | |
| HSV | hsv(311, 85%, 5%) | — | |
| HWB | hwb(311 1% 95%) | color: hwb(311 1% 95%) | |
| OKLCH | oklch(0.1199 0.0361 333.18) | color: oklch(0.1199 0.0361 333.18) | |
| Lab | lab(1.38 4.2 -2.38) | color: lab(1.38 4.2 -2.38) | |
| LCH | lch(1.38 4.83 330.46) | color: lch(1.38 4.83 330.46) |
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)
#080809 — rgb(8, 8, 9)
Deuteranopia (Green-blind)
#090A08 — rgb(9, 10, 8)
Tritanopia (Blue-blind)
#0C0707 — rgb(12, 7, 7)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(312, 70%, 3%);
text
color: hsl(312, 70%, 3%);
border
border: 2px solid hsl(312, 70%, 3%);
gradient light
background: linear-gradient(to right, hsl(312, 70%, 23%), hsl(312, 70%, 3%));
gradient dark
background: linear-gradient(to right, hsl(312, 70%, 3%), hsl(312, 70%, 0%))
hex
background-color: #0D020B;
tailwind
bg-[hsl(312,70%,3%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(312, 70%, 3%, 0.4);
css variable
--color-primary: hsl(312, 70%, 3%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(312, 70%, 3%)?
HEX: #0D020B | RGB: rgb(13, 2, 11) | CMYK: 0%, 85%, 15%, 95% | HSV: 311°, 85%, 5%. Copy any format from the conversion table above.
What colors go well with #0D020B?
The complementary color is HSL(132, 70%, 3%). For a triadic harmony, use hues 312°, 72°, and 192°. For analogous combinations, try hues 282° and 342°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(312, 70%, 3%) in CSS?
As HSL: color: hsl(312, 70%, 3%); — As HEX: color: #0D020B; — As RGB: color: rgb(13, 2, 11); — Tailwind CSS: bg-[hsl(312,70%,3%)] — CSS variable: --color-primary: hsl(312, 70%, 3%);