HSL(306, 10%, 8%)
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(306,10%,8%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(306, 10%, 8%) | color: hsl(306, 10%, 8%) | |
| HEX | #161216 | color: #161216 | |
| RGB | rgb(22, 18, 22) | color: rgb(22, 18, 22) | |
| CMYK | cmyk(0%, 18%, 0%, 91%) | — | |
| HSV | hsv(300, 18%, 9%) | — | |
| HWB | hwb(300 7% 91%) | color: hwb(300 7% 91%) | |
| OKLCH | oklch(0.1889 0.0102 325.97) | color: oklch(0.1889 0.0102 325.97) | |
| Lab | lab(5.97 2.61 -1.86) | color: lab(5.97 2.61 -1.86) | |
| LCH | lch(5.97 3.2 324.52) | color: lch(5.97 3.2 324.52) |
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)
#141415 — rgb(20, 20, 21)
Deuteranopia (Green-blind)
#151515 — rgb(21, 21, 21)
Tritanopia (Blue-blind)
#161414 — rgb(22, 20, 20)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(306, 10%, 8%);
text
color: hsl(306, 10%, 8%);
border
border: 2px solid hsl(306, 10%, 8%);
gradient light
background: linear-gradient(to right, hsl(306, 10%, 28%), hsl(306, 10%, 8%));
gradient dark
background: linear-gradient(to right, hsl(306, 10%, 8%), hsl(306, 10%, 0%))
hex
background-color: #161216;
tailwind
bg-[hsl(306,10%,8%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(306, 10%, 8%, 0.4);
css variable
--color-primary: hsl(306, 10%, 8%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(306, 10%, 8%)?
HEX: #161216 | RGB: rgb(22, 18, 22) | CMYK: 0%, 18%, 0%, 91% | HSV: 300°, 18%, 9%. Copy any format from the conversion table above.
What colors go well with #161216?
The complementary color is HSL(126, 10%, 8%). For a triadic harmony, use hues 306°, 66°, and 186°. For analogous combinations, try hues 276° and 336°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(306, 10%, 8%) in CSS?
As HSL: color: hsl(306, 10%, 8%); — As HEX: color: #161216; — As RGB: color: rgb(22, 18, 22); — Tailwind CSS: bg-[hsl(306,10%,8%)] — CSS variable: --color-primary: hsl(306, 10%, 8%);