HSL(288, 46%, 6%)
Very Dark Purple — Purple color
Adjust Color
Color Information
Color Name
Very Dark Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(288,46%,6%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(288, 46%, 6%) | color: hsl(288, 46%, 6%) | |
| HEX | #140816 | color: #140816 | |
| RGB | rgb(20, 8, 22) | color: rgb(20, 8, 22) | |
| CMYK | cmyk(9%, 64%, 0%, 91%) | — | |
| HSV | hsv(291, 64%, 9%) | — | |
| HWB | hwb(291 3% 91%) | color: hwb(291 3% 91%) | |
| OKLCH | oklch(0.1602 0.0344 321.76) | color: oklch(0.1602 0.0344 321.76) | |
| Lab | lab(3.44 6.5 -5.59) | color: lab(3.44 6.5 -5.59) | |
| LCH | lch(3.44 8.57 319.3) | color: lch(3.44 8.57 319.3) |
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)
#0F0F13 — rgb(15, 15, 19)
Deuteranopia (Green-blind)
#101012 — rgb(16, 16, 18)
Tritanopia (Blue-blind)
#13100F — rgb(19, 16, 15)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(288, 46%, 6%);
text
color: hsl(288, 46%, 6%);
border
border: 2px solid hsl(288, 46%, 6%);
gradient light
background: linear-gradient(to right, hsl(288, 46%, 26%), hsl(288, 46%, 6%));
gradient dark
background: linear-gradient(to right, hsl(288, 46%, 6%), hsl(288, 46%, 0%))
hex
background-color: #140816;
tailwind
bg-[hsl(288,46%,6%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(288, 46%, 6%, 0.4);
css variable
--color-primary: hsl(288, 46%, 6%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(288, 46%, 6%)?
HEX: #140816 | RGB: rgb(20, 8, 22) | CMYK: 9%, 64%, 0%, 91% | HSV: 291°, 64%, 9%. Copy any format from the conversion table above.
What colors go well with #140816?
The complementary color is HSL(108, 46%, 6%). For a triadic harmony, use hues 288°, 48°, and 168°. For analogous combinations, try hues 258° and 318°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(288, 46%, 6%) in CSS?
As HSL: color: hsl(288, 46%, 6%); — As HEX: color: #140816; — As RGB: color: rgb(20, 8, 22); — Tailwind CSS: bg-[hsl(288,46%,6%)] — CSS variable: --color-primary: hsl(288, 46%, 6%);