HSL(306, 34%, 3%)
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(306,34%,3%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(306, 34%, 3%) | color: hsl(306, 34%, 3%) | |
| HEX | #0A050A | color: #0A050A | |
| RGB | rgb(10, 5, 10) | color: rgb(10, 5, 10) | |
| CMYK | cmyk(0%, 50%, 0%, 96%) | — | |
| HSV | hsv(300, 50%, 4%) | — | |
| HWB | hwb(300 2% 96%) | color: hwb(300 2% 96%) | |
| OKLCH | oklch(0.1269 0.0168 326.51) | color: oklch(0.1269 0.0168 326.51) | |
| Lab | lab(1.76 2 -1.43) | color: lab(1.76 2 -1.43) | |
| LCH | lch(1.76 2.46 324.44) | color: lch(1.76 2.46 324.44) |
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)
#080809 — rgb(8, 8, 9)
Deuteranopia (Green-blind)
#080909 — rgb(8, 9, 9)
Tritanopia (Blue-blind)
#0A0808 — rgb(10, 8, 8)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(306, 34%, 3%);
text
color: hsl(306, 34%, 3%);
border
border: 2px solid hsl(306, 34%, 3%);
gradient light
background: linear-gradient(to right, hsl(306, 34%, 23%), hsl(306, 34%, 3%));
gradient dark
background: linear-gradient(to right, hsl(306, 34%, 3%), hsl(306, 34%, 0%))
hex
background-color: #0A050A;
tailwind
bg-[hsl(306,34%,3%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(306, 34%, 3%, 0.4);
css variable
--color-primary: hsl(306, 34%, 3%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(306, 34%, 3%)?
HEX: #0A050A | RGB: rgb(10, 5, 10) | CMYK: 0%, 50%, 0%, 96% | HSV: 300°, 50%, 4%. Copy any format from the conversion table above.
What colors go well with #0A050A?
The complementary color is HSL(126, 34%, 3%). For a triadic harmony, use hues 306°, 66°, and 186°. For analogous combinations, try hues 276° and 336°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(306, 34%, 3%) in CSS?
As HSL: color: hsl(306, 34%, 3%); — As HEX: color: #0A050A; — As RGB: color: rgb(10, 5, 10); — Tailwind CSS: bg-[hsl(306,34%,3%)] — CSS variable: --color-primary: hsl(306, 34%, 3%);