HSL(298, 30%, 14%)
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(298,30%,14%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(298, 30%, 14%) | color: hsl(298, 30%, 14%) | |
| HEX | #2E192E | color: #2E192E | |
| RGB | rgb(46, 25, 46) | color: rgb(46, 25, 46) | |
| CMYK | cmyk(0%, 46%, 0%, 82%) | — | |
| HSV | hsv(300, 46%, 18%) | — | |
| HWB | hwb(300 10% 82%) | color: hwb(300 10% 82%) | |
| OKLCH | oklch(0.2511 0.0486 326.9) | color: oklch(0.2511 0.0486 326.9) | |
| Lab | lab(12.44 14.71 -9.75) | color: lab(12.44 14.71 -9.75) | |
| LCH | lch(12.44 17.65 326.46) | color: lch(12.44 17.65 326.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)
#252529 — rgb(37, 37, 41)
Deuteranopia (Green-blind)
#262828 — rgb(38, 40, 40)
Tritanopia (Blue-blind)
#2D2524 — rgb(45, 37, 36)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(298, 30%, 14%);
text
color: hsl(298, 30%, 14%);
border
border: 2px solid hsl(298, 30%, 14%);
gradient light
background: linear-gradient(to right, hsl(298, 30%, 34%), hsl(298, 30%, 14%));
gradient dark
background: linear-gradient(to right, hsl(298, 30%, 14%), hsl(298, 30%, 0%))
hex
background-color: #2E192E;
tailwind
bg-[hsl(298,30%,14%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(298, 30%, 14%, 0.4);
css variable
--color-primary: hsl(298, 30%, 14%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(298, 30%, 14%)?
HEX: #2E192E | RGB: rgb(46, 25, 46) | CMYK: 0%, 46%, 0%, 82% | HSV: 300°, 46%, 18%. Copy any format from the conversion table above.
What colors go well with #2E192E?
The complementary color is HSL(118, 30%, 14%). For a triadic harmony, use hues 298°, 58°, and 178°. For analogous combinations, try hues 268° and 328°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(298, 30%, 14%) in CSS?
As HSL: color: hsl(298, 30%, 14%); — As HEX: color: #2E192E; — As RGB: color: rgb(46, 25, 46); — Tailwind CSS: bg-[hsl(298,30%,14%)] — CSS variable: --color-primary: hsl(298, 30%, 14%);