HSL(309, 52%, 2%)
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(309,52%,2%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(309, 52%, 2%) | color: hsl(309, 52%, 2%) | |
| HEX | #080207 | color: #080207 | |
| RGB | rgb(8, 2, 7) | color: rgb(8, 2, 7) | |
| CMYK | cmyk(0%, 75%, 13%, 97%) | — | |
| HSV | hsv(310, 75%, 3%) | — | |
| HWB | hwb(310 1% 97%) | color: hwb(310 1% 97%) | |
| OKLCH | oklch(0.1065 0.0253 331.93) | color: oklch(0.1065 0.0253 331.93) | |
| Lab | lab(1 2.26 -1.34) | color: lab(1 2.26 -1.34) | |
| LCH | lch(1 2.63 329.34) | color: lch(1 2.63 329.34) |
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)
#050506 — rgb(5, 5, 6)
Deuteranopia (Green-blind)
#060606 — rgb(6, 6, 6)
Tritanopia (Blue-blind)
#080505 — rgb(8, 5, 5)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(309, 52%, 2%);
text
color: hsl(309, 52%, 2%);
border
border: 2px solid hsl(309, 52%, 2%);
gradient light
background: linear-gradient(to right, hsl(309, 52%, 22%), hsl(309, 52%, 2%));
gradient dark
background: linear-gradient(to right, hsl(309, 52%, 2%), hsl(309, 52%, 0%))
hex
background-color: #080207;
tailwind
bg-[hsl(309,52%,2%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(309, 52%, 2%, 0.4);
css variable
--color-primary: hsl(309, 52%, 2%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(309, 52%, 2%)?
HEX: #080207 | RGB: rgb(8, 2, 7) | CMYK: 0%, 75%, 13%, 97% | HSV: 310°, 75%, 3%. Copy any format from the conversion table above.
What colors go well with #080207?
The complementary color is HSL(129, 52%, 2%). For a triadic harmony, use hues 309°, 69°, and 189°. For analogous combinations, try hues 279° and 339°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(309, 52%, 2%) in CSS?
As HSL: color: hsl(309, 52%, 2%); — As HEX: color: #080207; — As RGB: color: rgb(8, 2, 7); — Tailwind CSS: bg-[hsl(309,52%,2%)] — CSS variable: --color-primary: hsl(309, 52%, 2%);