HSL(290, 50%, 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(290,50%,7%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(290, 50%, 7%) | color: hsl(290, 50%, 7%) | |
| HEX | #18091B | color: #18091B | |
| RGB | rgb(24, 9, 27) | color: rgb(24, 9, 27) | |
| CMYK | cmyk(11%, 67%, 0%, 89%) | — | |
| HSV | hsv(290, 67%, 11%) | — | |
| HWB | hwb(290 4% 89%) | color: hwb(290 4% 89%) | |
| OKLCH | oklch(0.1724 0.0421 320.77) | color: oklch(0.1724 0.0421 320.77) | |
| Lab | lab(4.23 9.29 -8.24) | color: lab(4.23 9.29 -8.24) | |
| LCH | lch(4.23 12.42 318.43) | color: lch(4.23 12.42 318.43) |
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)
#121117 — rgb(18, 17, 23)
Deuteranopia (Green-blind)
#121416 — rgb(18, 20, 22)
Tritanopia (Blue-blind)
#171312 — rgb(23, 19, 18)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(290, 50%, 7%);
text
color: hsl(290, 50%, 7%);
border
border: 2px solid hsl(290, 50%, 7%);
gradient light
background: linear-gradient(to right, hsl(290, 50%, 27%), hsl(290, 50%, 7%));
gradient dark
background: linear-gradient(to right, hsl(290, 50%, 7%), hsl(290, 50%, 0%))
hex
background-color: #18091B;
tailwind
bg-[hsl(290,50%,7%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(290, 50%, 7%, 0.4);
css variable
--color-primary: hsl(290, 50%, 7%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(290, 50%, 7%)?
HEX: #18091B | RGB: rgb(24, 9, 27) | CMYK: 11%, 67%, 0%, 89% | HSV: 290°, 67%, 11%. Copy any format from the conversion table above.
What colors go well with #18091B?
The complementary color is HSL(110, 50%, 7%). For a triadic harmony, use hues 290°, 50°, and 170°. For analogous combinations, try hues 260° and 320°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(290, 50%, 7%) in CSS?
As HSL: color: hsl(290, 50%, 7%); — As HEX: color: #18091B; — As RGB: color: rgb(24, 9, 27); — Tailwind CSS: bg-[hsl(290,50%,7%)] — CSS variable: --color-primary: hsl(290, 50%, 7%);