HSL(308, 26%, 11%)
Very Dark Purple — Purple color
Adjust Color
Color Information
Color Name
Very Dark Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(308,26%,11%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(308, 26%, 11%) | color: hsl(308, 26%, 11%) | |
| HEX | #231521 | color: #231521 | |
| RGB | rgb(35, 21, 33) | color: rgb(35, 21, 33) | |
| CMYK | cmyk(0%, 40%, 6%, 86%) | — | |
| HSV | hsv(309, 40%, 14%) | — | |
| HWB | hwb(309 8% 86%) | color: hwb(309 8% 86%) | |
| OKLCH | oklch(0.2195 0.0312 331.69) | color: oklch(0.2195 0.0312 331.69) | |
| Lab | lab(9.02 9.73 -5.51) | color: lab(9.02 9.73 -5.51) | |
| LCH | lch(9.02 11.18 330.48) | color: lch(9.02 11.18 330.48) |
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)
#1D1D1E — rgb(29, 29, 30)
Deuteranopia (Green-blind)
#1E1F1D — rgb(30, 31, 29)
Tritanopia (Blue-blind)
#221C1B — rgb(34, 28, 27)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(308, 26%, 11%);
text
color: hsl(308, 26%, 11%);
border
border: 2px solid hsl(308, 26%, 11%);
gradient light
background: linear-gradient(to right, hsl(308, 26%, 31%), hsl(308, 26%, 11%));
gradient dark
background: linear-gradient(to right, hsl(308, 26%, 11%), hsl(308, 26%, 0%))
hex
background-color: #231521;
tailwind
bg-[hsl(308,26%,11%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(308, 26%, 11%, 0.4);
css variable
--color-primary: hsl(308, 26%, 11%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(308, 26%, 11%)?
HEX: #231521 | RGB: rgb(35, 21, 33) | CMYK: 0%, 40%, 6%, 86% | HSV: 309°, 40%, 14%. Copy any format from the conversion table above.
What colors go well with #231521?
The complementary color is HSL(128, 26%, 11%). For a triadic harmony, use hues 308°, 68°, and 188°. For analogous combinations, try hues 278° and 338°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(308, 26%, 11%) in CSS?
As HSL: color: hsl(308, 26%, 11%); — As HEX: color: #231521; — As RGB: color: rgb(35, 21, 33); — Tailwind CSS: bg-[hsl(308,26%,11%)] — CSS variable: --color-primary: hsl(308, 26%, 11%);