HSL(308, 71%, 5%)
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,71%,5%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(308, 71%, 5%) | color: hsl(308, 71%, 5%) | |
| HEX | #160413 | color: #160413 | |
| RGB | rgb(22, 4, 19) | color: rgb(22, 4, 19) | |
| CMYK | cmyk(0%, 82%, 14%, 91%) | — | |
| HSV | hsv(310, 82%, 9%) | — | |
| HWB | hwb(310 2% 91%) | color: hwb(310 2% 91%) | |
| OKLCH | oklch(0.1508 0.0451 333.92) | color: oklch(0.1508 0.0451 333.92) | |
| Lab | lab(2.75 8.29 -4.54) | color: lab(2.75 8.29 -4.54) | |
| LCH | lch(2.75 9.45 331.29) | color: lch(2.75 9.45 331.29) |
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)
#0E0E0F — rgb(14, 14, 15)
Deuteranopia (Green-blind)
#0F110F — rgb(15, 17, 15)
Tritanopia (Blue-blind)
#150D0C — rgb(21, 13, 12)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(308, 71%, 5%);
text
color: hsl(308, 71%, 5%);
border
border: 2px solid hsl(308, 71%, 5%);
gradient light
background: linear-gradient(to right, hsl(308, 71%, 25%), hsl(308, 71%, 5%));
gradient dark
background: linear-gradient(to right, hsl(308, 71%, 5%), hsl(308, 71%, 0%))
hex
background-color: #160413;
tailwind
bg-[hsl(308,71%,5%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(308, 71%, 5%, 0.4);
css variable
--color-primary: hsl(308, 71%, 5%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(308, 71%, 5%)?
HEX: #160413 | RGB: rgb(22, 4, 19) | CMYK: 0%, 82%, 14%, 91% | HSV: 310°, 82%, 9%. Copy any format from the conversion table above.
What colors go well with #160413?
The complementary color is HSL(128, 71%, 5%). 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, 71%, 5%) in CSS?
As HSL: color: hsl(308, 71%, 5%); — As HEX: color: #160413; — As RGB: color: rgb(22, 4, 19); — Tailwind CSS: bg-[hsl(308,71%,5%)] — CSS variable: --color-primary: hsl(308, 71%, 5%);