HSL(311, 57%, 4%)
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,57%,4%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(311, 57%, 4%) | color: hsl(311, 57%, 4%) | |
| HEX | #10040E | color: #10040E | |
| RGB | rgb(16, 4, 14) | color: rgb(16, 4, 14) | |
| CMYK | cmyk(0%, 75%, 13%, 94%) | — | |
| HSV | hsv(310, 75%, 6%) | — | |
| HWB | hwb(310 2% 94%) | color: hwb(310 2% 94%) | |
| OKLCH | oklch(0.136 0.0332 332.99) | color: oklch(0.136 0.0332 332.99) | |
| Lab | lab(2.07 4.87 -2.76) | color: lab(2.07 4.87 -2.76) | |
| LCH | lch(2.07 5.6 330.46) | color: lch(2.07 5.6 330.46) |
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)
#0B0B0C — rgb(11, 11, 12)
Deuteranopia (Green-blind)
#0C0C0B — rgb(12, 12, 11)
Tritanopia (Blue-blind)
#0F0A09 — rgb(15, 10, 9)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(311, 57%, 4%);
text
color: hsl(311, 57%, 4%);
border
border: 2px solid hsl(311, 57%, 4%);
gradient light
background: linear-gradient(to right, hsl(311, 57%, 24%), hsl(311, 57%, 4%));
gradient dark
background: linear-gradient(to right, hsl(311, 57%, 4%), hsl(311, 57%, 0%))
hex
background-color: #10040E;
tailwind
bg-[hsl(311,57%,4%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(311, 57%, 4%, 0.4);
css variable
--color-primary: hsl(311, 57%, 4%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(311, 57%, 4%)?
HEX: #10040E | RGB: rgb(16, 4, 14) | CMYK: 0%, 75%, 13%, 94% | HSV: 310°, 75%, 6%. Copy any format from the conversion table above.
What colors go well with #10040E?
The complementary color is HSL(131, 57%, 4%). 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, 57%, 4%) in CSS?
As HSL: color: hsl(311, 57%, 4%); — As HEX: color: #10040E; — As RGB: color: rgb(16, 4, 14); — Tailwind CSS: bg-[hsl(311,57%,4%)] — CSS variable: --color-primary: hsl(311, 57%, 4%);