HSL(311, 59%, 9%)
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,59%,9%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(311, 59%, 9%) | color: hsl(311, 59%, 9%) | |
| HEX | #240920 | color: #240920 | |
| RGB | rgb(36, 9, 32) | color: rgb(36, 9, 32) | |
| CMYK | cmyk(0%, 75%, 11%, 86%) | — | |
| HSV | hsv(309, 75%, 14%) | — | |
| HWB | hwb(309 4% 86%) | color: hwb(309 4% 86%) | |
| OKLCH | oklch(0.1965 0.0583 333.67) | color: oklch(0.1965 0.0583 333.67) | |
| Lab | lab(6.1 17.38 -9.19) | color: lab(6.1 17.38 -9.19) | |
| LCH | lch(6.1 19.66 332.13) | color: lch(6.1 19.66 332.13) |
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)
#18181A — rgb(24, 24, 26)
Deuteranopia (Green-blind)
#1A1C19 — rgb(26, 28, 25)
Tritanopia (Blue-blind)
#231615 — rgb(35, 22, 21)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(311, 59%, 9%);
text
color: hsl(311, 59%, 9%);
border
border: 2px solid hsl(311, 59%, 9%);
gradient light
background: linear-gradient(to right, hsl(311, 59%, 29%), hsl(311, 59%, 9%));
gradient dark
background: linear-gradient(to right, hsl(311, 59%, 9%), hsl(311, 59%, 0%))
hex
background-color: #240920;
tailwind
bg-[hsl(311,59%,9%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(311, 59%, 9%, 0.4);
css variable
--color-primary: hsl(311, 59%, 9%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(311, 59%, 9%)?
HEX: #240920 | RGB: rgb(36, 9, 32) | CMYK: 0%, 75%, 11%, 86% | HSV: 309°, 75%, 14%. Copy any format from the conversion table above.
What colors go well with #240920?
The complementary color is HSL(131, 59%, 9%). 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, 59%, 9%) in CSS?
As HSL: color: hsl(311, 59%, 9%); — As HEX: color: #240920; — As RGB: color: rgb(36, 9, 32); — Tailwind CSS: bg-[hsl(311,59%,9%)] — CSS variable: --color-primary: hsl(311, 59%, 9%);