HSL(311, 65%, 8%)
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(311,65%,8%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(311, 65%, 8%) | color: hsl(311, 65%, 8%) | |
| HEX | #22071D | color: #22071D | |
| RGB | rgb(34, 7, 29) | color: rgb(34, 7, 29) | |
| CMYK | cmyk(0%, 79%, 15%, 87%) | — | |
| HSV | hsv(311, 79%, 13%) | — | |
| HWB | hwb(311 3% 87%) | color: hwb(311 3% 87%) | |
| OKLCH | oklch(0.1873 0.0579 335.48) | color: oklch(0.1873 0.0579 335.48) | |
| Lab | lab(5.25 16.4 -8.17) | color: lab(5.25 16.4 -8.17) | |
| LCH | lch(5.25 18.32 333.52) | color: lch(5.25 18.32 333.52) |
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)
#161618 — rgb(22, 22, 24)
Deuteranopia (Green-blind)
#181A16 — rgb(24, 26, 22)
Tritanopia (Blue-blind)
#211313 — rgb(33, 19, 19)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(311, 65%, 8%);
text
color: hsl(311, 65%, 8%);
border
border: 2px solid hsl(311, 65%, 8%);
gradient light
background: linear-gradient(to right, hsl(311, 65%, 28%), hsl(311, 65%, 8%));
gradient dark
background: linear-gradient(to right, hsl(311, 65%, 8%), hsl(311, 65%, 0%))
hex
background-color: #22071D;
tailwind
bg-[hsl(311,65%,8%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(311, 65%, 8%, 0.4);
css variable
--color-primary: hsl(311, 65%, 8%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(311, 65%, 8%)?
HEX: #22071D | RGB: rgb(34, 7, 29) | CMYK: 0%, 79%, 15%, 87% | HSV: 311°, 79%, 13%. Copy any format from the conversion table above.
What colors go well with #22071D?
The complementary color is HSL(131, 65%, 8%). For a triadic harmony, use hues 311°, 71°, and 191°. For analogous combinations, try hues 281° and 341°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(311, 65%, 8%) in CSS?
As HSL: color: hsl(311, 65%, 8%); — As HEX: color: #22071D; — As RGB: color: rgb(34, 7, 29); — Tailwind CSS: bg-[hsl(311,65%,8%)] — CSS variable: --color-primary: hsl(311, 65%, 8%);