HSL(307, 33%, 9%)
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(307,33%,9%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(307, 33%, 9%) | color: hsl(307, 33%, 9%) | |
| HEX | #1F0F1D | color: #1F0F1D | |
| RGB | rgb(31, 15, 29) | color: rgb(31, 15, 29) | |
| CMYK | cmyk(0%, 52%, 6%, 88%) | — | |
| HSV | hsv(308, 52%, 12%) | — | |
| HWB | hwb(308 6% 88%) | color: hwb(308 6% 88%) | |
| OKLCH | oklch(0.1978 0.0367 331.45) | color: oklch(0.1978 0.0367 331.45) | |
| Lab | lab(6.52 10.93 -6.3) | color: lab(6.52 10.93 -6.3) | |
| LCH | lch(6.52 12.62 330.04) | color: lch(6.52 12.62 330.04) |
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)
#18181A — rgb(24, 24, 26)
Deuteranopia (Green-blind)
#191A19 — rgb(25, 26, 25)
Tritanopia (Blue-blind)
#1E1716 — rgb(30, 23, 22)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(307, 33%, 9%);
text
color: hsl(307, 33%, 9%);
border
border: 2px solid hsl(307, 33%, 9%);
gradient light
background: linear-gradient(to right, hsl(307, 33%, 29%), hsl(307, 33%, 9%));
gradient dark
background: linear-gradient(to right, hsl(307, 33%, 9%), hsl(307, 33%, 0%))
hex
background-color: #1F0F1D;
tailwind
bg-[hsl(307,33%,9%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(307, 33%, 9%, 0.4);
css variable
--color-primary: hsl(307, 33%, 9%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(307, 33%, 9%)?
HEX: #1F0F1D | RGB: rgb(31, 15, 29) | CMYK: 0%, 52%, 6%, 88% | HSV: 308°, 52%, 12%. Copy any format from the conversion table above.
What colors go well with #1F0F1D?
The complementary color is HSL(127, 33%, 9%). 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, 33%, 9%) in CSS?
As HSL: color: hsl(307, 33%, 9%); — As HEX: color: #1F0F1D; — As RGB: color: rgb(31, 15, 29); — Tailwind CSS: bg-[hsl(307,33%,9%)] — CSS variable: --color-primary: hsl(307, 33%, 9%);