HSL(295, 52%, 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(295,52%,11%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(295, 52%, 11%) | color: hsl(295, 52%, 11%) | |
| HEX | #280D2B | color: #280D2B | |
| RGB | rgb(40, 13, 43) | color: rgb(40, 13, 43) | |
| CMYK | cmyk(7%, 70%, 0%, 83%) | — | |
| HSV | hsv(294, 70%, 17%) | — | |
| HWB | hwb(294 5% 83%) | color: hwb(294 5% 83%) | |
| OKLCH | oklch(0.2173 0.0659 323.55) | color: oklch(0.2173 0.0659 323.55) | |
| Lab | lab(8.25 19.63 -14.15) | color: lab(8.25 19.63 -14.15) | |
| LCH | lch(8.25 24.2 324.21) | color: lch(8.25 24.2 324.21) |
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)
#1C1C24 — rgb(28, 28, 36)
Deuteranopia (Green-blind)
#1E2022 — rgb(30, 32, 34)
Tritanopia (Blue-blind)
#271E1D — rgb(39, 30, 29)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(295, 52%, 11%);
text
color: hsl(295, 52%, 11%);
border
border: 2px solid hsl(295, 52%, 11%);
gradient light
background: linear-gradient(to right, hsl(295, 52%, 31%), hsl(295, 52%, 11%));
gradient dark
background: linear-gradient(to right, hsl(295, 52%, 11%), hsl(295, 52%, 0%))
hex
background-color: #280D2B;
tailwind
bg-[hsl(295,52%,11%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(295, 52%, 11%, 0.4);
css variable
--color-primary: hsl(295, 52%, 11%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(295, 52%, 11%)?
HEX: #280D2B | RGB: rgb(40, 13, 43) | CMYK: 7%, 70%, 0%, 83% | HSV: 294°, 70%, 17%. Copy any format from the conversion table above.
What colors go well with #280D2B?
The complementary color is HSL(115, 52%, 11%). For a triadic harmony, use hues 295°, 55°, and 175°. For analogous combinations, try hues 265° and 325°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(295, 52%, 11%) in CSS?
As HSL: color: hsl(295, 52%, 11%); — As HEX: color: #280D2B; — As RGB: color: rgb(40, 13, 43); — Tailwind CSS: bg-[hsl(295,52%,11%)] — CSS variable: --color-primary: hsl(295, 52%, 11%);