HSL(302, 95%, 5%)
Very Dark Purple — Purple color
Adjust Color
Color Information
Color Name
Very Dark Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(302,95%,5%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(302, 95%, 5%) | color: hsl(302, 95%, 5%) | |
| HEX | #190118 | color: #190118 | |
| RGB | rgb(25, 1, 24) | color: rgb(25, 1, 24) | |
| CMYK | cmyk(0%, 96%, 4%, 90%) | — | |
| HSV | hsv(303, 96%, 10%) | — | |
| HWB | hwb(303 0% 90%) | color: hwb(303 0% 90%) | |
| OKLCH | oklch(0.1519 0.0639 329.75) | color: oklch(0.1519 0.0639 329.75) | |
| Lab | lab(2.66 12.16 -8.15) | color: lab(2.66 12.16 -8.15) | |
| LCH | lch(2.66 14.64 326.17) | color: lch(2.66 14.64 326.17) |
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)
#0F0E12 — rgb(15, 14, 18)
Deuteranopia (Green-blind)
#101211 — rgb(16, 18, 17)
Tritanopia (Blue-blind)
#180E0D — rgb(24, 14, 13)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(302, 95%, 5%);
text
color: hsl(302, 95%, 5%);
border
border: 2px solid hsl(302, 95%, 5%);
gradient light
background: linear-gradient(to right, hsl(302, 95%, 25%), hsl(302, 95%, 5%));
gradient dark
background: linear-gradient(to right, hsl(302, 95%, 5%), hsl(302, 95%, 0%))
hex
background-color: #190118;
tailwind
bg-[hsl(302,95%,5%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(302, 95%, 5%, 0.4);
css variable
--color-primary: hsl(302, 95%, 5%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(302, 95%, 5%)?
HEX: #190118 | RGB: rgb(25, 1, 24) | CMYK: 0%, 96%, 4%, 90% | HSV: 303°, 96%, 10%. Copy any format from the conversion table above.
What colors go well with #190118?
The complementary color is HSL(122, 95%, 5%). For a triadic harmony, use hues 302°, 62°, and 182°. For analogous combinations, try hues 272° and 332°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(302, 95%, 5%) in CSS?
As HSL: color: hsl(302, 95%, 5%); — As HEX: color: #190118; — As RGB: color: rgb(25, 1, 24); — Tailwind CSS: bg-[hsl(302,95%,5%)] — CSS variable: --color-primary: hsl(302, 95%, 5%);