HSL(290, 80%, 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(290,80%,6%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(290, 80%, 6%) | color: hsl(290, 80%, 6%) | |
| HEX | #17031C | color: #17031C | |
| RGB | rgb(23, 3, 28) | color: rgb(23, 3, 28) | |
| CMYK | cmyk(18%, 89%, 0%, 89%) | — | |
| HSV | hsv(288, 89%, 11%) | — | |
| HWB | hwb(288 1% 89%) | color: hwb(288 1% 89%) | |
| OKLCH | oklch(0.1568 0.0599 319.71) | color: oklch(0.1568 0.0599 319.71) | |
| Lab | lab(2.99 11.5 -10.89) | color: lab(2.99 11.5 -10.89) | |
| LCH | lch(2.99 15.84 316.56) | color: lch(2.99 15.84 316.56) |
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)
#0E0E16 — rgb(14, 14, 22)
Deuteranopia (Green-blind)
#101115 — rgb(16, 17, 21)
Tritanopia (Blue-blind)
#161110 — rgb(22, 17, 16)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(290, 80%, 6%);
text
color: hsl(290, 80%, 6%);
border
border: 2px solid hsl(290, 80%, 6%);
gradient light
background: linear-gradient(to right, hsl(290, 80%, 26%), hsl(290, 80%, 6%));
gradient dark
background: linear-gradient(to right, hsl(290, 80%, 6%), hsl(290, 80%, 0%))
hex
background-color: #17031C;
tailwind
bg-[hsl(290,80%,6%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(290, 80%, 6%, 0.4);
css variable
--color-primary: hsl(290, 80%, 6%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(290, 80%, 6%)?
HEX: #17031C | RGB: rgb(23, 3, 28) | CMYK: 18%, 89%, 0%, 89% | HSV: 288°, 89%, 11%. Copy any format from the conversion table above.
What colors go well with #17031C?
The complementary color is HSL(110, 80%, 6%). For a triadic harmony, use hues 290°, 50°, and 170°. For analogous combinations, try hues 260° and 320°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(290, 80%, 6%) in CSS?
As HSL: color: hsl(290, 80%, 6%); — As HEX: color: #17031C; — As RGB: color: rgb(23, 3, 28); — Tailwind CSS: bg-[hsl(290,80%,6%)] — CSS variable: --color-primary: hsl(290, 80%, 6%);