HSL(311, 100%, 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,100%,8%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(311, 100%, 8%) | color: hsl(311, 100%, 8%) | |
| HEX | #290021 | color: #290021 | |
| RGB | rgb(41, 0, 33) | color: rgb(41, 0, 33) | |
| CMYK | cmyk(0%, 100%, 20%, 84%) | — | |
| HSV | hsv(312, 100%, 16%) | — | |
| HWB | hwb(312 0% 84%) | color: hwb(312 0% 84%) | |
| OKLCH | oklch(0.1911 0.084 337.36) | color: oklch(0.1911 0.084 337.36) | |
| Lab | lab(5.25 24.47 -11.18) | color: lab(5.25 24.47 -11.18) | |
| LCH | lch(5.25 26.9 335.45) | color: lch(5.25 26.9 335.45) |
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)
#171719 — rgb(23, 23, 25)
Deuteranopia (Green-blind)
#1A1D17 — rgb(26, 29, 23)
Tritanopia (Blue-blind)
#271311 — rgb(39, 19, 17)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(311, 100%, 8%);
text
color: hsl(311, 100%, 8%);
border
border: 2px solid hsl(311, 100%, 8%);
gradient light
background: linear-gradient(to right, hsl(311, 100%, 28%), hsl(311, 100%, 8%));
gradient dark
background: linear-gradient(to right, hsl(311, 100%, 8%), hsl(311, 100%, 0%))
hex
background-color: #290021;
tailwind
bg-[hsl(311,100%,8%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(311, 100%, 8%, 0.4);
css variable
--color-primary: hsl(311, 100%, 8%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(311, 100%, 8%)?
HEX: #290021 | RGB: rgb(41, 0, 33) | CMYK: 0%, 100%, 20%, 84% | HSV: 312°, 100%, 16%. Copy any format from the conversion table above.
What colors go well with #290021?
The complementary color is HSL(131, 100%, 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, 100%, 8%) in CSS?
As HSL: color: hsl(311, 100%, 8%); — As HEX: color: #290021; — As RGB: color: rgb(41, 0, 33); — Tailwind CSS: bg-[hsl(311,100%,8%)] — CSS variable: --color-primary: hsl(311, 100%, 8%);