HSL(291, 50%, 8%)
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(291,50%,8%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(291, 50%, 8%) | color: hsl(291, 50%, 8%) | |
| HEX | #1C0A1F | color: #1C0A1F | |
| RGB | rgb(28, 10, 31) | color: rgb(28, 10, 31) | |
| CMYK | cmyk(10%, 68%, 0%, 88%) | — | |
| HSV | hsv(291, 68%, 12%) | — | |
| HWB | hwb(291 4% 88%) | color: hwb(291 4% 88%) | |
| OKLCH | oklch(0.1838 0.0484 321.74) | color: oklch(0.1838 0.0484 321.74) | |
| Lab | lab(5.08 12.28 -10.06) | color: lab(5.08 12.28 -10.06) | |
| LCH | lch(5.08 15.87 320.68) | color: lch(5.08 15.87 320.68) |
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)
#14141A — rgb(20, 20, 26)
Deuteranopia (Green-blind)
#151719 — rgb(21, 23, 25)
Tritanopia (Blue-blind)
#1B1615 — rgb(27, 22, 21)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(291, 50%, 8%);
text
color: hsl(291, 50%, 8%);
border
border: 2px solid hsl(291, 50%, 8%);
gradient light
background: linear-gradient(to right, hsl(291, 50%, 28%), hsl(291, 50%, 8%));
gradient dark
background: linear-gradient(to right, hsl(291, 50%, 8%), hsl(291, 50%, 0%))
hex
background-color: #1C0A1F;
tailwind
bg-[hsl(291,50%,8%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(291, 50%, 8%, 0.4);
css variable
--color-primary: hsl(291, 50%, 8%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(291, 50%, 8%)?
HEX: #1C0A1F | RGB: rgb(28, 10, 31) | CMYK: 10%, 68%, 0%, 88% | HSV: 291°, 68%, 12%. Copy any format from the conversion table above.
What colors go well with #1C0A1F?
The complementary color is HSL(111, 50%, 8%). For a triadic harmony, use hues 291°, 51°, and 171°. For analogous combinations, try hues 261° and 321°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(291, 50%, 8%) in CSS?
As HSL: color: hsl(291, 50%, 8%); — As HEX: color: #1C0A1F; — As RGB: color: rgb(28, 10, 31); — Tailwind CSS: bg-[hsl(291,50%,8%)] — CSS variable: --color-primary: hsl(291, 50%, 8%);