HSL(307, 15%, 7%)
Very Dark Purple — Purple color
Adjust Color
Color Information
Color Name
Very Dark Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(307,15%,7%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(307, 15%, 7%) | color: hsl(307, 15%, 7%) | |
| HEX | #150F14 | color: #150F14 | |
| RGB | rgb(21, 15, 20) | color: rgb(21, 15, 20) | |
| CMYK | cmyk(0%, 29%, 5%, 92%) | — | |
| HSV | hsv(310, 29%, 8%) | — | |
| HWB | hwb(310 6% 92%) | color: hwb(310 6% 92%) | |
| OKLCH | oklch(0.1784 0.014 331.84) | color: oklch(0.1784 0.014 331.84) | |
| Lab | lab(4.98 3.36 -1.94) | color: lab(4.98 3.36 -1.94) | |
| LCH | lch(4.98 3.88 330) | color: lch(4.98 3.88 330) |
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)
#121213 — rgb(18, 18, 19)
Deuteranopia (Green-blind)
#131313 — rgb(19, 19, 19)
Tritanopia (Blue-blind)
#151212 — rgb(21, 18, 18)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(307, 15%, 7%);
text
color: hsl(307, 15%, 7%);
border
border: 2px solid hsl(307, 15%, 7%);
gradient light
background: linear-gradient(to right, hsl(307, 15%, 27%), hsl(307, 15%, 7%));
gradient dark
background: linear-gradient(to right, hsl(307, 15%, 7%), hsl(307, 15%, 0%))
hex
background-color: #150F14;
tailwind
bg-[hsl(307,15%,7%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(307, 15%, 7%, 0.4);
css variable
--color-primary: hsl(307, 15%, 7%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(307, 15%, 7%)?
HEX: #150F14 | RGB: rgb(21, 15, 20) | CMYK: 0%, 29%, 5%, 92% | HSV: 310°, 29%, 8%. Copy any format from the conversion table above.
What colors go well with #150F14?
The complementary color is HSL(127, 15%, 7%). For a triadic harmony, use hues 307°, 67°, and 187°. For analogous combinations, try hues 277° and 337°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(307, 15%, 7%) in CSS?
As HSL: color: hsl(307, 15%, 7%); — As HEX: color: #150F14; — As RGB: color: rgb(21, 15, 20); — Tailwind CSS: bg-[hsl(307,15%,7%)] — CSS variable: --color-primary: hsl(307, 15%, 7%);