HSL(292, 30%, 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(292,30%,13%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(292, 30%, 13%) | color: hsl(292, 30%, 13%) | |
| HEX | #28172B | color: #28172B | |
| RGB | rgb(40, 23, 43) | color: rgb(40, 23, 43) | |
| CMYK | cmyk(7%, 47%, 0%, 83%) | — | |
| HSV | hsv(291, 47%, 17%) | — | |
| HWB | hwb(291 9% 83%) | color: hwb(291 9% 83%) | |
| OKLCH | oklch(0.2366 0.0443 321.4) | color: oklch(0.2366 0.0443 321.4) | |
| Lab | lab(10.84 12.93 -10.11) | color: lab(10.84 12.93 -10.11) | |
| LCH | lch(10.84 16.41 321.98) | color: lch(10.84 16.41 321.98) |
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)
#212026 — rgb(33, 32, 38)
Deuteranopia (Green-blind)
#222325 — rgb(34, 35, 37)
Tritanopia (Blue-blind)
#272222 — rgb(39, 34, 34)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(292, 30%, 13%);
text
color: hsl(292, 30%, 13%);
border
border: 2px solid hsl(292, 30%, 13%);
gradient light
background: linear-gradient(to right, hsl(292, 30%, 33%), hsl(292, 30%, 13%));
gradient dark
background: linear-gradient(to right, hsl(292, 30%, 13%), hsl(292, 30%, 0%))
hex
background-color: #28172B;
tailwind
bg-[hsl(292,30%,13%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(292, 30%, 13%, 0.4);
css variable
--color-primary: hsl(292, 30%, 13%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(292, 30%, 13%)?
HEX: #28172B | RGB: rgb(40, 23, 43) | CMYK: 7%, 47%, 0%, 83% | HSV: 291°, 47%, 17%. Copy any format from the conversion table above.
What colors go well with #28172B?
The complementary color is HSL(112, 30%, 13%). For a triadic harmony, use hues 292°, 52°, and 172°. For analogous combinations, try hues 262° and 322°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(292, 30%, 13%) in CSS?
As HSL: color: hsl(292, 30%, 13%); — As HEX: color: #28172B; — As RGB: color: rgb(40, 23, 43); — Tailwind CSS: bg-[hsl(292,30%,13%)] — CSS variable: --color-primary: hsl(292, 30%, 13%);