HSL(313, 20%, 14%)
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,20%,14%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(313, 20%, 14%) | color: hsl(313, 20%, 14%) | |
| HEX | #2B1D28 | color: #2B1D28 | |
| RGB | rgb(43, 29, 40) | color: rgb(43, 29, 40) | |
| CMYK | cmyk(0%, 33%, 7%, 83%) | — | |
| HSV | hsv(313, 33%, 17%) | — | |
| HWB | hwb(313 11% 83%) | color: hwb(313 11% 83%) | |
| OKLCH | oklch(0.2527 0.029 334.2) | color: oklch(0.2527 0.029 334.2) | |
| Lab | lab(12.89 9.19 -4.73) | color: lab(12.89 9.19 -4.73) | |
| LCH | lch(12.89 10.34 332.77) | color: lch(12.89 10.34 332.77) |
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)
#252525 — rgb(37, 37, 37)
Deuteranopia (Green-blind)
#262725 — rgb(38, 39, 37)
Tritanopia (Blue-blind)
#2A2323 — rgb(42, 35, 35)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(313, 20%, 14%);
text
color: hsl(313, 20%, 14%);
border
border: 2px solid hsl(313, 20%, 14%);
gradient light
background: linear-gradient(to right, hsl(313, 20%, 34%), hsl(313, 20%, 14%));
gradient dark
background: linear-gradient(to right, hsl(313, 20%, 14%), hsl(313, 20%, 0%))
hex
background-color: #2B1D28;
tailwind
bg-[hsl(313,20%,14%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(313, 20%, 14%, 0.4);
css variable
--color-primary: hsl(313, 20%, 14%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(313, 20%, 14%)?
HEX: #2B1D28 | RGB: rgb(43, 29, 40) | CMYK: 0%, 33%, 7%, 83% | HSV: 313°, 33%, 17%. Copy any format from the conversion table above.
What colors go well with #2B1D28?
The complementary color is HSL(133, 20%, 14%). 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, 20%, 14%) in CSS?
As HSL: color: hsl(313, 20%, 14%); — As HEX: color: #2B1D28; — As RGB: color: rgb(43, 29, 40); — Tailwind CSS: bg-[hsl(313,20%,14%)] — CSS variable: --color-primary: hsl(313, 20%, 14%);