HSL(308, 100%, 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,100%,11%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(308, 100%, 11%) | color: hsl(308, 100%, 11%) | |
| HEX | #380031 | color: #380031 | |
| RGB | rgb(56, 0, 49) | color: rgb(56, 0, 49) | |
| CMYK | cmyk(0%, 100%, 13%, 78%) | — | |
| HSV | hsv(308, 100%, 22%) | — | |
| HWB | hwb(308 0% 78%) | color: hwb(308 0% 78%) | |
| OKLCH | oklch(0.2339 0.1043 334.4) | color: oklch(0.2339 0.1043 334.4) | |
| Lab | lab(9.5 32.25 -16.4) | color: lab(9.5 32.25 -16.4) | |
| LCH | lch(9.5 36.18 333.05) | color: lch(9.5 36.18 333.05) |
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)
#201F25 — rgb(32, 31, 37)
Deuteranopia (Green-blind)
#232722 — rgb(35, 39, 34)
Tritanopia (Blue-blind)
#351C1A — rgb(53, 28, 26)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(308, 100%, 11%);
text
color: hsl(308, 100%, 11%);
border
border: 2px solid hsl(308, 100%, 11%);
gradient light
background: linear-gradient(to right, hsl(308, 100%, 31%), hsl(308, 100%, 11%));
gradient dark
background: linear-gradient(to right, hsl(308, 100%, 11%), hsl(308, 100%, 0%))
hex
background-color: #380031;
tailwind
bg-[hsl(308,100%,11%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(308, 100%, 11%, 0.4);
css variable
--color-primary: hsl(308, 100%, 11%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(308, 100%, 11%)?
HEX: #380031 | RGB: rgb(56, 0, 49) | CMYK: 0%, 100%, 13%, 78% | HSV: 308°, 100%, 22%. Copy any format from the conversion table above.
What colors go well with #380031?
The complementary color is HSL(128, 100%, 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, 100%, 11%) in CSS?
As HSL: color: hsl(308, 100%, 11%); — As HEX: color: #380031; — As RGB: color: rgb(56, 0, 49); — Tailwind CSS: bg-[hsl(308,100%,11%)] — CSS variable: --color-primary: hsl(308, 100%, 11%);