HSL(302, 63%, 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(302,63%,2%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(302, 63%, 2%) | color: hsl(302, 63%, 2%) | |
| HEX | #080208 | color: #080208 | |
| RGB | rgb(8, 2, 8) | color: rgb(8, 2, 8) | |
| CMYK | cmyk(0%, 75%, 0%, 97%) | — | |
| HSV | hsv(300, 75%, 3%) | — | |
| HWB | hwb(300 1% 97%) | color: hwb(300 1% 97%) | |
| OKLCH | oklch(0.1074 0.0269 327.25) | color: oklch(0.1074 0.0269 327.25) | |
| Lab | lab(1.02 2.4 -1.72) | color: lab(1.02 2.4 -1.72) | |
| LCH | lch(1.02 2.95 324.37) | color: lch(1.02 2.95 324.37) |
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)
#050507 — rgb(5, 5, 7)
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(302, 63%, 2%);
text
color: hsl(302, 63%, 2%);
border
border: 2px solid hsl(302, 63%, 2%);
gradient light
background: linear-gradient(to right, hsl(302, 63%, 22%), hsl(302, 63%, 2%));
gradient dark
background: linear-gradient(to right, hsl(302, 63%, 2%), hsl(302, 63%, 0%))
hex
background-color: #080208;
tailwind
bg-[hsl(302,63%,2%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(302, 63%, 2%, 0.4);
css variable
--color-primary: hsl(302, 63%, 2%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(302, 63%, 2%)?
HEX: #080208 | RGB: rgb(8, 2, 8) | CMYK: 0%, 75%, 0%, 97% | HSV: 300°, 75%, 3%. Copy any format from the conversion table above.
What colors go well with #080208?
The complementary color is HSL(122, 63%, 2%). For a triadic harmony, use hues 302°, 62°, and 182°. For analogous combinations, try hues 272° and 332°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(302, 63%, 2%) in CSS?
As HSL: color: hsl(302, 63%, 2%); — As HEX: color: #080208; — As RGB: color: rgb(8, 2, 8); — Tailwind CSS: bg-[hsl(302,63%,2%)] — CSS variable: --color-primary: hsl(302, 63%, 2%);