HSL(293, 52%, 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(293,52%,13%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(293, 52%, 13%) | color: hsl(293, 52%, 13%) | |
| HEX | #2E1032 | color: #2E1032 | |
| RGB | rgb(46, 16, 50) | color: rgb(46, 16, 50) | |
| CMYK | cmyk(8%, 68%, 0%, 80%) | — | |
| HSV | hsv(293, 68%, 20%) | — | |
| HWB | hwb(293 6% 80%) | color: hwb(293 6% 80%) | |
| OKLCH | oklch(0.2369 0.0725 322.81) | color: oklch(0.2369 0.0725 322.81) | |
| Lab | lab(10.42 21.51 -15.81) | color: lab(10.42 21.51 -15.81) | |
| LCH | lch(10.42 26.7 323.68) | color: lch(10.42 26.7 323.68) |
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)
#21212A — rgb(33, 33, 42)
Deuteranopia (Green-blind)
#232528 — rgb(35, 37, 40)
Tritanopia (Blue-blind)
#2D2322 — rgb(45, 35, 34)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(293, 52%, 13%);
text
color: hsl(293, 52%, 13%);
border
border: 2px solid hsl(293, 52%, 13%);
gradient light
background: linear-gradient(to right, hsl(293, 52%, 33%), hsl(293, 52%, 13%));
gradient dark
background: linear-gradient(to right, hsl(293, 52%, 13%), hsl(293, 52%, 0%))
hex
background-color: #2E1032;
tailwind
bg-[hsl(293,52%,13%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(293, 52%, 13%, 0.4);
css variable
--color-primary: hsl(293, 52%, 13%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(293, 52%, 13%)?
HEX: #2E1032 | RGB: rgb(46, 16, 50) | CMYK: 8%, 68%, 0%, 80% | HSV: 293°, 68%, 20%. Copy any format from the conversion table above.
What colors go well with #2E1032?
The complementary color is HSL(113, 52%, 13%). For a triadic harmony, use hues 293°, 53°, and 173°. For analogous combinations, try hues 263° and 323°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(293, 52%, 13%) in CSS?
As HSL: color: hsl(293, 52%, 13%); — As HEX: color: #2E1032; — As RGB: color: rgb(46, 16, 50); — Tailwind CSS: bg-[hsl(293,52%,13%)] — CSS variable: --color-primary: hsl(293, 52%, 13%);