HSL(313, 87%, 11%)
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(313,87%,11%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(313, 87%, 11%) | color: hsl(313, 87%, 11%) | |
| HEX | #34042A | color: #34042A | |
| RGB | rgb(52, 4, 42) | color: rgb(52, 4, 42) | |
| CMYK | cmyk(0%, 92%, 19%, 80%) | — | |
| HSV | hsv(313, 92%, 20%) | — | |
| HWB | hwb(313 2% 80%) | color: hwb(313 2% 80%) | |
| OKLCH | oklch(0.2262 0.0895 338.13) | color: oklch(0.2262 0.0895 338.13) | |
| Lab | lab(8.86 28.01 -12.27) | color: lab(8.86 28.01 -12.27) | |
| LCH | lch(8.86 30.58 336.34) | color: lch(8.86 30.58 336.34) |
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)
#1F1F21 — rgb(31, 31, 33)
Deuteranopia (Green-blind)
#22261F — rgb(34, 38, 31)
Tritanopia (Blue-blind)
#321A18 — rgb(50, 26, 24)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(313, 87%, 11%);
text
color: hsl(313, 87%, 11%);
border
border: 2px solid hsl(313, 87%, 11%);
gradient light
background: linear-gradient(to right, hsl(313, 87%, 31%), hsl(313, 87%, 11%));
gradient dark
background: linear-gradient(to right, hsl(313, 87%, 11%), hsl(313, 87%, 0%))
hex
background-color: #34042A;
tailwind
bg-[hsl(313,87%,11%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(313, 87%, 11%, 0.4);
css variable
--color-primary: hsl(313, 87%, 11%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(313, 87%, 11%)?
HEX: #34042A | RGB: rgb(52, 4, 42) | CMYK: 0%, 92%, 19%, 80% | HSV: 313°, 92%, 20%. Copy any format from the conversion table above.
What colors go well with #34042A?
The complementary color is HSL(133, 87%, 11%). For a triadic harmony, use hues 313°, 73°, and 193°. For analogous combinations, try hues 283° and 343°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(313, 87%, 11%) in CSS?
As HSL: color: hsl(313, 87%, 11%); — As HEX: color: #34042A; — As RGB: color: rgb(52, 4, 42); — Tailwind CSS: bg-[hsl(313,87%,11%)] — CSS variable: --color-primary: hsl(313, 87%, 11%);