HSL(306, 80%, 7%)
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,80%,7%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(306, 80%, 7%) | color: hsl(306, 80%, 7%) | |
| HEX | #20041D | color: #20041D | |
| RGB | rgb(32, 4, 29) | color: rgb(32, 4, 29) | |
| CMYK | cmyk(0%, 88%, 9%, 87%) | — | |
| HSV | hsv(306, 88%, 13%) | — | |
| HWB | hwb(306 2% 87%) | color: hwb(306 2% 87%) | |
| OKLCH | oklch(0.1774 0.064 332.3) | color: oklch(0.1774 0.064 332.3) | |
| Lab | lab(4.36 16.46 -9.53) | color: lab(4.36 16.46 -9.53) | |
| LCH | lch(4.36 19.02 329.93) | color: lch(4.36 19.02 329.93) |
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)
#141417 — rgb(20, 20, 23)
Deuteranopia (Green-blind)
#161816 — rgb(22, 24, 22)
Tritanopia (Blue-blind)
#1F1211 — rgb(31, 18, 17)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(306, 80%, 7%);
text
color: hsl(306, 80%, 7%);
border
border: 2px solid hsl(306, 80%, 7%);
gradient light
background: linear-gradient(to right, hsl(306, 80%, 27%), hsl(306, 80%, 7%));
gradient dark
background: linear-gradient(to right, hsl(306, 80%, 7%), hsl(306, 80%, 0%))
hex
background-color: #20041D;
tailwind
bg-[hsl(306,80%,7%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(306, 80%, 7%, 0.4);
css variable
--color-primary: hsl(306, 80%, 7%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(306, 80%, 7%)?
HEX: #20041D | RGB: rgb(32, 4, 29) | CMYK: 0%, 88%, 9%, 87% | HSV: 306°, 88%, 13%. Copy any format from the conversion table above.
What colors go well with #20041D?
The complementary color is HSL(126, 80%, 7%). 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, 80%, 7%) in CSS?
As HSL: color: hsl(306, 80%, 7%); — As HEX: color: #20041D; — As RGB: color: rgb(32, 4, 29); — Tailwind CSS: bg-[hsl(306,80%,7%)] — CSS variable: --color-primary: hsl(306, 80%, 7%);