HSL(292, 90%, 2%)
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(292,90%,2%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(292, 90%, 2%) | color: hsl(292, 90%, 2%) | |
| HEX | #08010A | color: #08010A | |
| RGB | rgb(8, 1, 10) | color: rgb(8, 1, 10) | |
| CMYK | cmyk(20%, 90%, 0%, 96%) | — | |
| HSV | hsv(287, 90%, 4%) | — | |
| HWB | hwb(287 0% 96%) | color: hwb(287 0% 96%) | |
| OKLCH | oklch(0.1031 0.0371 321.6) | color: oklch(0.1031 0.0371 321.6) | |
| Lab | lab(0.86 3.08 -2.76) | color: lab(0.86 3.08 -2.76) | |
| LCH | lch(0.86 4.14 318.14) | color: lch(0.86 4.14 318.14) |
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)
#050508 — rgb(5, 5, 8)
Deuteranopia (Green-blind)
#050607 — rgb(5, 6, 7)
Tritanopia (Blue-blind)
#080606 — rgb(8, 6, 6)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(292, 90%, 2%);
text
color: hsl(292, 90%, 2%);
border
border: 2px solid hsl(292, 90%, 2%);
gradient light
background: linear-gradient(to right, hsl(292, 90%, 22%), hsl(292, 90%, 2%));
gradient dark
background: linear-gradient(to right, hsl(292, 90%, 2%), hsl(292, 90%, 0%))
hex
background-color: #08010A;
tailwind
bg-[hsl(292,90%,2%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(292, 90%, 2%, 0.4);
css variable
--color-primary: hsl(292, 90%, 2%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(292, 90%, 2%)?
HEX: #08010A | RGB: rgb(8, 1, 10) | CMYK: 20%, 90%, 0%, 96% | HSV: 287°, 90%, 4%. Copy any format from the conversion table above.
What colors go well with #08010A?
The complementary color is HSL(112, 90%, 2%). For a triadic harmony, use hues 292°, 52°, and 172°. For analogous combinations, try hues 262° and 322°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(292, 90%, 2%) in CSS?
As HSL: color: hsl(292, 90%, 2%); — As HEX: color: #08010A; — As RGB: color: rgb(8, 1, 10); — Tailwind CSS: bg-[hsl(292,90%,2%)] — CSS variable: --color-primary: hsl(292, 90%, 2%);