HSL(295, 40%, 13%)
Very Dark Purple — Purple color
Adjust Color
Color Information
Color Name
Very Dark Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(295,40%,13%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(295, 40%, 13%) | color: hsl(295, 40%, 13%) | |
| HEX | #2C142E | color: #2C142E | |
| RGB | rgb(44, 20, 46) | color: rgb(44, 20, 46) | |
| CMYK | cmyk(4%, 57%, 0%, 82%) | — | |
| HSV | hsv(295, 57%, 18%) | — | |
| HWB | hwb(295 8% 82%) | color: hwb(295 8% 82%) | |
| OKLCH | oklch(0.2382 0.0581 324.34) | color: oklch(0.2382 0.0581 324.34) | |
| Lab | lab(10.8 17.31 -12.32) | color: lab(10.8 17.31 -12.32) | |
| LCH | lch(10.8 21.25 324.56) | color: lch(10.8 21.25 324.56) |
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)
#222128 — rgb(34, 33, 40)
Deuteranopia (Green-blind)
#232526 — rgb(35, 37, 38)
Tritanopia (Blue-blind)
#2B2322 — rgb(43, 35, 34)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(295, 40%, 13%);
text
color: hsl(295, 40%, 13%);
border
border: 2px solid hsl(295, 40%, 13%);
gradient light
background: linear-gradient(to right, hsl(295, 40%, 33%), hsl(295, 40%, 13%));
gradient dark
background: linear-gradient(to right, hsl(295, 40%, 13%), hsl(295, 40%, 0%))
hex
background-color: #2C142E;
tailwind
bg-[hsl(295,40%,13%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(295, 40%, 13%, 0.4);
css variable
--color-primary: hsl(295, 40%, 13%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(295, 40%, 13%)?
HEX: #2C142E | RGB: rgb(44, 20, 46) | CMYK: 4%, 57%, 0%, 82% | HSV: 295°, 57%, 18%. Copy any format from the conversion table above.
What colors go well with #2C142E?
The complementary color is HSL(115, 40%, 13%). For a triadic harmony, use hues 295°, 55°, and 175°. For analogous combinations, try hues 265° and 325°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(295, 40%, 13%) in CSS?
As HSL: color: hsl(295, 40%, 13%); — As HEX: color: #2C142E; — As RGB: color: rgb(44, 20, 46); — Tailwind CSS: bg-[hsl(295,40%,13%)] — CSS variable: --color-primary: hsl(295, 40%, 13%);