HSL(298, 71%, 11%)
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,71%,11%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(298, 71%, 11%) | color: hsl(298, 71%, 11%) | |
| HEX | #2F0830 | color: #2F0830 | |
| RGB | rgb(47, 8, 48) | color: rgb(47, 8, 48) | |
| CMYK | cmyk(2%, 83%, 0%, 81%) | — | |
| HSV | hsv(299, 83%, 19%) | — | |
| HWB | hwb(299 3% 81%) | color: hwb(299 3% 81%) | |
| OKLCH | oklch(0.2259 0.0848 326.88) | color: oklch(0.2259 0.0848 326.88) | |
| Lab | lab(8.92 25.68 -16.71) | color: lab(8.92 25.68 -16.71) | |
| LCH | lch(8.92 30.64 326.95) | color: lch(8.92 30.64 326.95) |
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)
#1E1E26 — rgb(30, 30, 38)
Deuteranopia (Green-blind)
#202324 — rgb(32, 35, 36)
Tritanopia (Blue-blind)
#2D1F1D — rgb(45, 31, 29)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(298, 71%, 11%);
text
color: hsl(298, 71%, 11%);
border
border: 2px solid hsl(298, 71%, 11%);
gradient light
background: linear-gradient(to right, hsl(298, 71%, 31%), hsl(298, 71%, 11%));
gradient dark
background: linear-gradient(to right, hsl(298, 71%, 11%), hsl(298, 71%, 0%))
hex
background-color: #2F0830;
tailwind
bg-[hsl(298,71%,11%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(298, 71%, 11%, 0.4);
css variable
--color-primary: hsl(298, 71%, 11%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(298, 71%, 11%)?
HEX: #2F0830 | RGB: rgb(47, 8, 48) | CMYK: 2%, 83%, 0%, 81% | HSV: 299°, 83%, 19%. Copy any format from the conversion table above.
What colors go well with #2F0830?
The complementary color is HSL(118, 71%, 11%). 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, 71%, 11%) in CSS?
As HSL: color: hsl(298, 71%, 11%); — As HEX: color: #2F0830; — As RGB: color: rgb(47, 8, 48); — Tailwind CSS: bg-[hsl(298,71%,11%)] — CSS variable: --color-primary: hsl(298, 71%, 11%);