HSL(313, 13%, 9%)
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(313,13%,9%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(313, 13%, 9%) | color: hsl(313, 13%, 9%) | |
| HEX | #1A1419 | color: #1A1419 | |
| RGB | rgb(26, 20, 25) | color: rgb(26, 20, 25) | |
| CMYK | cmyk(0%, 23%, 4%, 90%) | — | |
| HSV | hsv(310, 23%, 10%) | — | |
| HWB | hwb(310 8% 90%) | color: hwb(310 8% 90%) | |
| OKLCH | oklch(0.2008 0.0136 331.71) | color: oklch(0.2008 0.0136 331.71) | |
| Lab | lab(7.14 4.12 -2.37) | color: lab(7.14 4.12 -2.37) | |
| LCH | lch(7.14 4.75 330.09) | color: lch(7.14 4.75 330.09) |
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)
#171718 — rgb(23, 23, 24)
Deuteranopia (Green-blind)
#181818 — rgb(24, 24, 24)
Tritanopia (Blue-blind)
#1A1717 — rgb(26, 23, 23)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(313, 13%, 9%);
text
color: hsl(313, 13%, 9%);
border
border: 2px solid hsl(313, 13%, 9%);
gradient light
background: linear-gradient(to right, hsl(313, 13%, 29%), hsl(313, 13%, 9%));
gradient dark
background: linear-gradient(to right, hsl(313, 13%, 9%), hsl(313, 13%, 0%))
hex
background-color: #1A1419;
tailwind
bg-[hsl(313,13%,9%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(313, 13%, 9%, 0.4);
css variable
--color-primary: hsl(313, 13%, 9%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(313, 13%, 9%)?
HEX: #1A1419 | RGB: rgb(26, 20, 25) | CMYK: 0%, 23%, 4%, 90% | HSV: 310°, 23%, 10%. Copy any format from the conversion table above.
What colors go well with #1A1419?
The complementary color is HSL(133, 13%, 9%). For a triadic harmony, use hues 313°, 73°, and 193°. For analogous combinations, try hues 283° and 343°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(313, 13%, 9%) in CSS?
As HSL: color: hsl(313, 13%, 9%); — As HEX: color: #1A1419; — As RGB: color: rgb(26, 20, 25); — Tailwind CSS: bg-[hsl(313,13%,9%)] — CSS variable: --color-primary: hsl(313, 13%, 9%);