HSL(292, 50%, 21%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(292,50%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(292, 50%, 21%) | color: hsl(292, 50%, 21%) | |
| HEX | #491B50 | color: #491B50 | |
| RGB | rgb(73, 27, 80) | color: rgb(73, 27, 80) | |
| CMYK | cmyk(9%, 66%, 0%, 69%) | — | |
| HSV | hsv(292, 66%, 31%) | — | |
| HWB | hwb(292 11% 69%) | color: hwb(292 11% 69%) | |
| OKLCH | oklch(0.316 0.1032 322.19) | color: oklch(0.316 0.1032 322.19) | |
| Lab | lab(19.14 30.58 -22.77) | color: lab(19.14 30.58 -22.77) | |
| LCH | lch(19.14 38.13 323.33) | color: lch(19.14 38.13 323.33) |
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)
#353543 — rgb(53, 53, 67)
Deuteranopia (Green-blind)
#383B40 — rgb(56, 59, 64)
Tritanopia (Blue-blind)
#473937 — rgb(71, 57, 55)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(292, 50%, 21%);
text
color: hsl(292, 50%, 21%);
border
border: 2px solid hsl(292, 50%, 21%);
gradient light
background: linear-gradient(to right, hsl(292, 50%, 41%), hsl(292, 50%, 21%));
gradient dark
background: linear-gradient(to right, hsl(292, 50%, 21%), hsl(292, 50%, 1%))
hex
background-color: #491B50;
tailwind
bg-[hsl(292,50%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(292, 50%, 21%, 0.4);
css variable
--color-primary: hsl(292, 50%, 21%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(292, 50%, 21%)?
HEX: #491B50 | RGB: rgb(73, 27, 80) | CMYK: 9%, 66%, 0%, 69% | HSV: 292°, 66%, 31%. Copy any format from the conversion table above.
What colors go well with #491B50?
The complementary color is HSL(112, 50%, 21%). 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, 50%, 21%) in CSS?
As HSL: color: hsl(292, 50%, 21%); — As HEX: color: #491B50; — As RGB: color: rgb(73, 27, 80); — Tailwind CSS: bg-[hsl(292,50%,21%)] — CSS variable: --color-primary: hsl(292, 50%, 21%);