HSL(290, 90%, 9%)
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,90%,9%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(290, 90%, 9%) | color: hsl(290, 90%, 9%) | |
| HEX | #25022C | color: #25022C | |
| RGB | rgb(37, 2, 44) | color: rgb(37, 2, 44) | |
| CMYK | cmyk(16%, 95%, 0%, 83%) | — | |
| HSV | hsv(290, 95%, 17%) | — | |
| HWB | hwb(290 1% 83%) | color: hwb(290 1% 83%) | |
| OKLCH | oklch(0.1952 0.0869 320.57) | color: oklch(0.1952 0.0869 320.57) | |
| Lab | lab(5.59 24.63 -19.14) | color: lab(5.59 24.63 -19.14) | |
| LCH | lch(5.59 31.19 322.15) | color: lch(5.59 31.19 322.15) |
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)
#161622 — rgb(22, 22, 34)
Deuteranopia (Green-blind)
#181B1F — rgb(24, 27, 31)
Tritanopia (Blue-blind)
#231A18 — rgb(35, 26, 24)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(290, 90%, 9%);
text
color: hsl(290, 90%, 9%);
border
border: 2px solid hsl(290, 90%, 9%);
gradient light
background: linear-gradient(to right, hsl(290, 90%, 29%), hsl(290, 90%, 9%));
gradient dark
background: linear-gradient(to right, hsl(290, 90%, 9%), hsl(290, 90%, 0%))
hex
background-color: #25022C;
tailwind
bg-[hsl(290,90%,9%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(290, 90%, 9%, 0.4);
css variable
--color-primary: hsl(290, 90%, 9%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(290, 90%, 9%)?
HEX: #25022C | RGB: rgb(37, 2, 44) | CMYK: 16%, 95%, 0%, 83% | HSV: 290°, 95%, 17%. Copy any format from the conversion table above.
What colors go well with #25022C?
The complementary color is HSL(110, 90%, 9%). 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, 90%, 9%) in CSS?
As HSL: color: hsl(290, 90%, 9%); — As HEX: color: #25022C; — As RGB: color: rgb(37, 2, 44); — Tailwind CSS: bg-[hsl(290,90%,9%)] — CSS variable: --color-primary: hsl(290, 90%, 9%);