HSL(298, 70%, 7%)
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,70%,7%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(298, 70%, 7%) | color: hsl(298, 70%, 7%) | |
| HEX | #1E051E | color: #1E051E | |
| RGB | rgb(30, 5, 30) | color: rgb(30, 5, 30) | |
| CMYK | cmyk(0%, 83%, 0%, 88%) | — | |
| HSV | hsv(300, 83%, 12%) | — | |
| HWB | hwb(300 2% 88%) | color: hwb(300 2% 88%) | |
| OKLCH | oklch(0.1764 0.0608 327.78) | color: oklch(0.1764 0.0608 327.78) | |
| Lab | lab(4.32 15.13 -10.4) | color: lab(4.32 15.13 -10.4) | |
| LCH | lch(4.32 18.36 325.5) | color: lch(4.32 18.36 325.5) |
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)
#131318 — rgb(19, 19, 24)
Deuteranopia (Green-blind)
#151717 — rgb(21, 23, 23)
Tritanopia (Blue-blind)
#1D1312 — rgb(29, 19, 18)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(298, 70%, 7%);
text
color: hsl(298, 70%, 7%);
border
border: 2px solid hsl(298, 70%, 7%);
gradient light
background: linear-gradient(to right, hsl(298, 70%, 27%), hsl(298, 70%, 7%));
gradient dark
background: linear-gradient(to right, hsl(298, 70%, 7%), hsl(298, 70%, 0%))
hex
background-color: #1E051E;
tailwind
bg-[hsl(298,70%,7%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(298, 70%, 7%, 0.4);
css variable
--color-primary: hsl(298, 70%, 7%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(298, 70%, 7%)?
HEX: #1E051E | RGB: rgb(30, 5, 30) | CMYK: 0%, 83%, 0%, 88% | HSV: 300°, 83%, 12%. Copy any format from the conversion table above.
What colors go well with #1E051E?
The complementary color is HSL(118, 70%, 7%). 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, 70%, 7%) in CSS?
As HSL: color: hsl(298, 70%, 7%); — As HEX: color: #1E051E; — As RGB: color: rgb(30, 5, 30); — Tailwind CSS: bg-[hsl(298,70%,7%)] — CSS variable: --color-primary: hsl(298, 70%, 7%);