HSL(301, 32%, 7%)
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(301,32%,7%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(301, 32%, 7%) | color: hsl(301, 32%, 7%) | |
| HEX | #180C17 | color: #180C17 | |
| RGB | rgb(24, 12, 23) | color: rgb(24, 12, 23) | |
| CMYK | cmyk(0%, 50%, 4%, 91%) | — | |
| HSV | hsv(305, 50%, 9%) | — | |
| HWB | hwb(305 5% 91%) | color: hwb(305 5% 91%) | |
| OKLCH | oklch(0.1767 0.0291 329.66) | color: oklch(0.1767 0.0291 329.66) | |
| Lab | lab(4.69 6.94 -4.44) | color: lab(4.69 6.94 -4.44) | |
| LCH | lch(4.69 8.24 327.39) | color: lch(4.69 8.24 327.39) |
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)
#131314 — rgb(19, 19, 20)
Deuteranopia (Green-blind)
#141414 — rgb(20, 20, 20)
Tritanopia (Blue-blind)
#171212 — rgb(23, 18, 18)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(301, 32%, 7%);
text
color: hsl(301, 32%, 7%);
border
border: 2px solid hsl(301, 32%, 7%);
gradient light
background: linear-gradient(to right, hsl(301, 32%, 27%), hsl(301, 32%, 7%));
gradient dark
background: linear-gradient(to right, hsl(301, 32%, 7%), hsl(301, 32%, 0%))
hex
background-color: #180C17;
tailwind
bg-[hsl(301,32%,7%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(301, 32%, 7%, 0.4);
css variable
--color-primary: hsl(301, 32%, 7%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(301, 32%, 7%)?
HEX: #180C17 | RGB: rgb(24, 12, 23) | CMYK: 0%, 50%, 4%, 91% | HSV: 305°, 50%, 9%. Copy any format from the conversion table above.
What colors go well with #180C17?
The complementary color is HSL(121, 32%, 7%). For a triadic harmony, use hues 301°, 61°, and 181°. For analogous combinations, try hues 271° and 331°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(301, 32%, 7%) in CSS?
As HSL: color: hsl(301, 32%, 7%); — As HEX: color: #180C17; — As RGB: color: rgb(24, 12, 23); — Tailwind CSS: bg-[hsl(301,32%,7%)] — CSS variable: --color-primary: hsl(301, 32%, 7%);