HSL(299, 75%, 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(299,75%,6%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(299, 75%, 6%) | color: hsl(299, 75%, 6%) | |
| HEX | #1A041B | color: #1A041B | |
| RGB | rgb(26, 4, 27) | color: rgb(26, 4, 27) | |
| CMYK | cmyk(4%, 85%, 0%, 89%) | — | |
| HSV | hsv(297, 85%, 11%) | — | |
| HWB | hwb(297 2% 89%) | color: hwb(297 2% 89%) | |
| OKLCH | oklch(0.1642 0.0574 326.13) | color: oklch(0.1642 0.0574 326.13) | |
| Lab | lab(3.48 12.32 -9.33) | color: lab(3.48 12.32 -9.33) | |
| LCH | lch(3.48 15.45 322.86) | color: lch(3.48 15.45 322.86) |
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)
#101015 — rgb(16, 16, 21)
Deuteranopia (Green-blind)
#121314 — rgb(18, 19, 20)
Tritanopia (Blue-blind)
#191110 — rgb(25, 17, 16)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(299, 75%, 6%);
text
color: hsl(299, 75%, 6%);
border
border: 2px solid hsl(299, 75%, 6%);
gradient light
background: linear-gradient(to right, hsl(299, 75%, 26%), hsl(299, 75%, 6%));
gradient dark
background: linear-gradient(to right, hsl(299, 75%, 6%), hsl(299, 75%, 0%))
hex
background-color: #1A041B;
tailwind
bg-[hsl(299,75%,6%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(299, 75%, 6%, 0.4);
css variable
--color-primary: hsl(299, 75%, 6%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(299, 75%, 6%)?
HEX: #1A041B | RGB: rgb(26, 4, 27) | CMYK: 4%, 85%, 0%, 89% | HSV: 297°, 85%, 11%. Copy any format from the conversion table above.
What colors go well with #1A041B?
The complementary color is HSL(119, 75%, 6%). For a triadic harmony, use hues 299°, 59°, and 179°. For analogous combinations, try hues 269° and 329°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(299, 75%, 6%) in CSS?
As HSL: color: hsl(299, 75%, 6%); — As HEX: color: #1A041B; — As RGB: color: rgb(26, 4, 27); — Tailwind CSS: bg-[hsl(299,75%,6%)] — CSS variable: --color-primary: hsl(299, 75%, 6%);