HSL(285, 10%, 8%)
Very Dark Purple — Purple color
Adjust Color
Color Information
Color Name
Very Dark Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(285,10%,8%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(285, 10%, 8%) | color: hsl(285, 10%, 8%) | |
| HEX | #151216 | color: #151216 | |
| RGB | rgb(21, 18, 22) | color: rgb(21, 18, 22) | |
| CMYK | cmyk(5%, 18%, 0%, 91%) | — | |
| HSV | hsv(285, 18%, 9%) | — | |
| HWB | hwb(285 7% 91%) | color: hwb(285 7% 91%) | |
| OKLCH | oklch(0.1876 0.0093 317.68) | color: oklch(0.1876 0.0093 317.68) | |
| Lab | lab(5.87 2.15 -2.02) | color: lab(5.87 2.15 -2.02) | |
| LCH | lch(5.87 2.95 316.79) | color: lch(5.87 2.95 316.79) |
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)
#141415 — rgb(20, 20, 21)
Tritanopia (Blue-blind)
#151414 — rgb(21, 20, 20)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(285, 10%, 8%);
text
color: hsl(285, 10%, 8%);
border
border: 2px solid hsl(285, 10%, 8%);
gradient light
background: linear-gradient(to right, hsl(285, 10%, 28%), hsl(285, 10%, 8%));
gradient dark
background: linear-gradient(to right, hsl(285, 10%, 8%), hsl(285, 10%, 0%))
hex
background-color: #151216;
tailwind
bg-[hsl(285,10%,8%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(285, 10%, 8%, 0.4);
css variable
--color-primary: hsl(285, 10%, 8%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(285, 10%, 8%)?
HEX: #151216 | RGB: rgb(21, 18, 22) | CMYK: 5%, 18%, 0%, 91% | HSV: 285°, 18%, 9%. Copy any format from the conversion table above.
What colors go well with #151216?
The complementary color is HSL(105, 10%, 8%). For a triadic harmony, use hues 285°, 45°, and 165°. For analogous combinations, try hues 255° and 315°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(285, 10%, 8%) in CSS?
As HSL: color: hsl(285, 10%, 8%); — As HEX: color: #151216; — As RGB: color: rgb(21, 18, 22); — Tailwind CSS: bg-[hsl(285,10%,8%)] — CSS variable: --color-primary: hsl(285, 10%, 8%);