HSL(293, 96%, 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(293,96%,6%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(293, 96%, 6%) | color: hsl(293, 96%, 6%) | |
| HEX | #1B011E | color: #1B011E | |
| RGB | rgb(27, 1, 30) | color: rgb(27, 1, 30) | |
| CMYK | cmyk(10%, 97%, 0%, 88%) | — | |
| HSV | hsv(294, 97%, 12%) | — | |
| HWB | hwb(294 0% 88%) | color: hwb(294 0% 88%) | |
| OKLCH | oklch(0.1611 0.0709 324.03) | color: oklch(0.1611 0.0709 324.03) | |
| Lab | lab(3.15 14.99 -12.21) | color: lab(3.15 14.99 -12.21) | |
| LCH | lch(3.15 19.33 320.84) | color: lch(3.15 19.33 320.84) |
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)
#101017 — rgb(16, 16, 23)
Deuteranopia (Green-blind)
#111315 — rgb(17, 19, 21)
Tritanopia (Blue-blind)
#1A1110 — rgb(26, 17, 16)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(293, 96%, 6%);
text
color: hsl(293, 96%, 6%);
border
border: 2px solid hsl(293, 96%, 6%);
gradient light
background: linear-gradient(to right, hsl(293, 96%, 26%), hsl(293, 96%, 6%));
gradient dark
background: linear-gradient(to right, hsl(293, 96%, 6%), hsl(293, 96%, 0%))
hex
background-color: #1B011E;
tailwind
bg-[hsl(293,96%,6%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(293, 96%, 6%, 0.4);
css variable
--color-primary: hsl(293, 96%, 6%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(293, 96%, 6%)?
HEX: #1B011E | RGB: rgb(27, 1, 30) | CMYK: 10%, 97%, 0%, 88% | HSV: 294°, 97%, 12%. Copy any format from the conversion table above.
What colors go well with #1B011E?
The complementary color is HSL(113, 96%, 6%). For a triadic harmony, use hues 293°, 53°, and 173°. For analogous combinations, try hues 263° and 323°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(293, 96%, 6%) in CSS?
As HSL: color: hsl(293, 96%, 6%); — As HEX: color: #1B011E; — As RGB: color: rgb(27, 1, 30); — Tailwind CSS: bg-[hsl(293,96%,6%)] — CSS variable: --color-primary: hsl(293, 96%, 6%);