HSL(292, 92%, 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(292,92%,9%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(292, 92%, 9%) | color: hsl(292, 92%, 9%) | |
| HEX | #26022C | color: #26022C | |
| RGB | rgb(38, 2, 44) | color: rgb(38, 2, 44) | |
| CMYK | cmyk(14%, 95%, 0%, 83%) | — | |
| HSV | hsv(291, 95%, 17%) | — | |
| HWB | hwb(291 1% 83%) | color: hwb(291 1% 83%) | |
| OKLCH | oklch(0.1971 0.0874 321.73) | color: oklch(0.1971 0.0874 321.73) | |
| Lab | lab(5.76 25.04 -18.86) | color: lab(5.76 25.04 -18.86) | |
| LCH | lch(5.76 31.35 323.01) | color: lch(5.76 31.35 323.01) |
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)
#191B1F — rgb(25, 27, 31)
Tritanopia (Blue-blind)
#241A18 — rgb(36, 26, 24)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(292, 92%, 9%);
text
color: hsl(292, 92%, 9%);
border
border: 2px solid hsl(292, 92%, 9%);
gradient light
background: linear-gradient(to right, hsl(292, 92%, 29%), hsl(292, 92%, 9%));
gradient dark
background: linear-gradient(to right, hsl(292, 92%, 9%), hsl(292, 92%, 0%))
hex
background-color: #26022C;
tailwind
bg-[hsl(292,92%,9%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(292, 92%, 9%, 0.4);
css variable
--color-primary: hsl(292, 92%, 9%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(292, 92%, 9%)?
HEX: #26022C | RGB: rgb(38, 2, 44) | CMYK: 14%, 95%, 0%, 83% | HSV: 291°, 95%, 17%. Copy any format from the conversion table above.
What colors go well with #26022C?
The complementary color is HSL(112, 92%, 9%). For a triadic harmony, use hues 292°, 52°, and 172°. For analogous combinations, try hues 262° and 322°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(292, 92%, 9%) in CSS?
As HSL: color: hsl(292, 92%, 9%); — As HEX: color: #26022C; — As RGB: color: rgb(38, 2, 44); — Tailwind CSS: bg-[hsl(292,92%,9%)] — CSS variable: --color-primary: hsl(292, 92%, 9%);