HSL(304, 89%, 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(304,89%,2%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(304, 89%, 2%) | color: hsl(304, 89%, 2%) | |
| HEX | #0A0109 | color: #0A0109 | |
| RGB | rgb(10, 1, 9) | color: rgb(10, 1, 9) | |
| CMYK | cmyk(0%, 90%, 10%, 96%) | — | |
| HSV | hsv(307, 90%, 4%) | — | |
| HWB | hwb(307 0% 96%) | color: hwb(307 0% 96%) | |
| OKLCH | oklch(0.1068 0.0374 330.76) | color: oklch(0.1068 0.0374 330.76) | |
| Lab | lab(0.96 3.47 -2.2) | color: lab(0.96 3.47 -2.2) | |
| LCH | lch(0.96 4.11 327.63) | color: lch(0.96 4.11 327.63) |
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)
#060607 — rgb(6, 6, 7)
Deuteranopia (Green-blind)
#070707 — rgb(7, 7, 7)
Tritanopia (Blue-blind)
#0A0605 — rgb(10, 6, 5)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(304, 89%, 2%);
text
color: hsl(304, 89%, 2%);
border
border: 2px solid hsl(304, 89%, 2%);
gradient light
background: linear-gradient(to right, hsl(304, 89%, 22%), hsl(304, 89%, 2%));
gradient dark
background: linear-gradient(to right, hsl(304, 89%, 2%), hsl(304, 89%, 0%))
hex
background-color: #0A0109;
tailwind
bg-[hsl(304,89%,2%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(304, 89%, 2%, 0.4);
css variable
--color-primary: hsl(304, 89%, 2%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(304, 89%, 2%)?
HEX: #0A0109 | RGB: rgb(10, 1, 9) | CMYK: 0%, 90%, 10%, 96% | HSV: 307°, 90%, 4%. Copy any format from the conversion table above.
What colors go well with #0A0109?
The complementary color is HSL(124, 89%, 2%). For a triadic harmony, use hues 304°, 64°, and 184°. For analogous combinations, try hues 274° and 334°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(304, 89%, 2%) in CSS?
As HSL: color: hsl(304, 89%, 2%); — As HEX: color: #0A0109; — As RGB: color: rgb(10, 1, 9); — Tailwind CSS: bg-[hsl(304,89%,2%)] — CSS variable: --color-primary: hsl(304, 89%, 2%);