HSL(308, 73%, 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(308,73%,2%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(308, 73%, 2%) | color: hsl(308, 73%, 2%) | |
| HEX | #090108 | color: #090108 | |
| RGB | rgb(9, 1, 8) | color: rgb(9, 1, 8) | |
| CMYK | cmyk(0%, 89%, 11%, 96%) | — | |
| HSV | hsv(308, 89%, 4%) | — | |
| HWB | hwb(308 0% 96%) | color: hwb(308 0% 96%) | |
| OKLCH | oklch(0.1037 0.0352 331.11) | color: oklch(0.1037 0.0352 331.11) | |
| Lab | lab(0.88 3.07 -1.91) | color: lab(0.88 3.07 -1.91) | |
| LCH | lch(0.88 3.62 328.11) | color: lch(0.88 3.62 328.11) |
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)
#060506 — rgb(6, 5, 6)
Deuteranopia (Green-blind)
#060706 — rgb(6, 7, 6)
Tritanopia (Blue-blind)
#090505 — rgb(9, 5, 5)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(308, 73%, 2%);
text
color: hsl(308, 73%, 2%);
border
border: 2px solid hsl(308, 73%, 2%);
gradient light
background: linear-gradient(to right, hsl(308, 73%, 22%), hsl(308, 73%, 2%));
gradient dark
background: linear-gradient(to right, hsl(308, 73%, 2%), hsl(308, 73%, 0%))
hex
background-color: #090108;
tailwind
bg-[hsl(308,73%,2%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(308, 73%, 2%, 0.4);
css variable
--color-primary: hsl(308, 73%, 2%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(308, 73%, 2%)?
HEX: #090108 | RGB: rgb(9, 1, 8) | CMYK: 0%, 89%, 11%, 96% | HSV: 308°, 89%, 4%. Copy any format from the conversion table above.
What colors go well with #090108?
The complementary color is HSL(128, 73%, 2%). For a triadic harmony, use hues 308°, 68°, and 188°. For analogous combinations, try hues 278° and 338°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(308, 73%, 2%) in CSS?
As HSL: color: hsl(308, 73%, 2%); — As HEX: color: #090108; — As RGB: color: rgb(9, 1, 8); — Tailwind CSS: bg-[hsl(308,73%,2%)] — CSS variable: --color-primary: hsl(308, 73%, 2%);