HSL(312, 100%, 5%)
Very Dark Purple — Purple color
Adjust Color
Color Information
Color Name
Very Dark Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(312,100%,5%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(312, 100%, 5%) | color: hsl(312, 100%, 5%) | |
| HEX | #1A0014 | color: #1A0014 | |
| RGB | rgb(26, 0, 20) | color: rgb(26, 0, 20) | |
| CMYK | cmyk(0%, 100%, 23%, 90%) | — | |
| HSV | hsv(314, 100%, 10%) | — | |
| HWB | hwb(314 0% 90%) | color: hwb(314 0% 90%) | |
| OKLCH | oklch(0.148 0.065 337.66) | color: oklch(0.148 0.065 337.66) | |
| Lab | lab(2.44 12.1 -5.59) | color: lab(2.44 12.1 -5.59) | |
| LCH | lch(2.44 13.33 335.2) | color: lch(2.44 13.33 335.2) |
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)
#0F0F0F — rgb(15, 15, 15)
Deuteranopia (Green-blind)
#10120E — rgb(16, 18, 14)
Tritanopia (Blue-blind)
#190B0B — rgb(25, 11, 11)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(312, 100%, 5%);
text
color: hsl(312, 100%, 5%);
border
border: 2px solid hsl(312, 100%, 5%);
gradient light
background: linear-gradient(to right, hsl(312, 100%, 25%), hsl(312, 100%, 5%));
gradient dark
background: linear-gradient(to right, hsl(312, 100%, 5%), hsl(312, 100%, 0%))
hex
background-color: #1A0014;
tailwind
bg-[hsl(312,100%,5%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(312, 100%, 5%, 0.4);
css variable
--color-primary: hsl(312, 100%, 5%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(312, 100%, 5%)?
HEX: #1A0014 | RGB: rgb(26, 0, 20) | CMYK: 0%, 100%, 23%, 90% | HSV: 314°, 100%, 10%. Copy any format from the conversion table above.
What colors go well with #1A0014?
The complementary color is HSL(132, 100%, 5%). For a triadic harmony, use hues 312°, 72°, and 192°. For analogous combinations, try hues 282° and 342°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(312, 100%, 5%) in CSS?
As HSL: color: hsl(312, 100%, 5%); — As HEX: color: #1A0014; — As RGB: color: rgb(26, 0, 20); — Tailwind CSS: bg-[hsl(312,100%,5%)] — CSS variable: --color-primary: hsl(312, 100%, 5%);