HSL(285, 100%, 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(285,100%,6%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(285, 100%, 6%) | color: hsl(285, 100%, 6%) | |
| HEX | #17001F | color: #17001F | |
| RGB | rgb(23, 0, 31) | color: rgb(23, 0, 31) | |
| CMYK | cmyk(26%, 100%, 0%, 88%) | — | |
| HSV | hsv(285, 100%, 12%) | — | |
| HWB | hwb(285 0% 88%) | color: hwb(285 0% 88%) | |
| OKLCH | oklch(0.1512 0.0736 317.2) | color: oklch(0.1512 0.0736 317.2) | |
| Lab | lab(2.54 13.66 -13.96) | color: lab(2.54 13.66 -13.96) | |
| LCH | lch(2.54 19.53 314.38) | color: lch(2.54 19.53 314.38) |
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)
#0D0D17 — rgb(13, 13, 23)
Deuteranopia (Green-blind)
#0E1016 — rgb(14, 16, 22)
Tritanopia (Blue-blind)
#161210 — rgb(22, 18, 16)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(285, 100%, 6%);
text
color: hsl(285, 100%, 6%);
border
border: 2px solid hsl(285, 100%, 6%);
gradient light
background: linear-gradient(to right, hsl(285, 100%, 26%), hsl(285, 100%, 6%));
gradient dark
background: linear-gradient(to right, hsl(285, 100%, 6%), hsl(285, 100%, 0%))
hex
background-color: #17001F;
tailwind
bg-[hsl(285,100%,6%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(285, 100%, 6%, 0.4);
css variable
--color-primary: hsl(285, 100%, 6%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(285, 100%, 6%)?
HEX: #17001F | RGB: rgb(23, 0, 31) | CMYK: 26%, 100%, 0%, 88% | HSV: 285°, 100%, 12%. Copy any format from the conversion table above.
What colors go well with #17001F?
The complementary color is HSL(105, 100%, 6%). 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, 100%, 6%) in CSS?
As HSL: color: hsl(285, 100%, 6%); — As HEX: color: #17001F; — As RGB: color: rgb(23, 0, 31); — Tailwind CSS: bg-[hsl(285,100%,6%)] — CSS variable: --color-primary: hsl(285, 100%, 6%);