HSL(293, 44%, 7%)
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,44%,7%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(293, 44%, 7%) | color: hsl(293, 44%, 7%) | |
| HEX | #180A1A | color: #180A1A | |
| RGB | rgb(24, 10, 26) | color: rgb(24, 10, 26) | |
| CMYK | cmyk(8%, 62%, 0%, 90%) | — | |
| HSV | hsv(293, 62%, 10%) | — | |
| HWB | hwb(293 4% 90%) | color: hwb(293 4% 90%) | |
| OKLCH | oklch(0.174 0.0383 322.41) | color: oklch(0.174 0.0383 322.41) | |
| Lab | lab(4.39 8.6 -7.22) | color: lab(4.39 8.6 -7.22) | |
| LCH | lch(4.39 11.23 319.99) | color: lch(4.39 11.23 319.99) |
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)
#121216 — rgb(18, 18, 22)
Deuteranopia (Green-blind)
#131415 — rgb(19, 20, 21)
Tritanopia (Blue-blind)
#171312 — rgb(23, 19, 18)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(293, 44%, 7%);
text
color: hsl(293, 44%, 7%);
border
border: 2px solid hsl(293, 44%, 7%);
gradient light
background: linear-gradient(to right, hsl(293, 44%, 27%), hsl(293, 44%, 7%));
gradient dark
background: linear-gradient(to right, hsl(293, 44%, 7%), hsl(293, 44%, 0%))
hex
background-color: #180A1A;
tailwind
bg-[hsl(293,44%,7%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(293, 44%, 7%, 0.4);
css variable
--color-primary: hsl(293, 44%, 7%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(293, 44%, 7%)?
HEX: #180A1A | RGB: rgb(24, 10, 26) | CMYK: 8%, 62%, 0%, 90% | HSV: 293°, 62%, 10%. Copy any format from the conversion table above.
What colors go well with #180A1A?
The complementary color is HSL(113, 44%, 7%). 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, 44%, 7%) in CSS?
As HSL: color: hsl(293, 44%, 7%); — As HEX: color: #180A1A; — As RGB: color: rgb(24, 10, 26); — Tailwind CSS: bg-[hsl(293,44%,7%)] — CSS variable: --color-primary: hsl(293, 44%, 7%);