HSL(291, 50%, 19%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(291,50%,19%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(291, 50%, 19%) | color: hsl(291, 50%, 19%) | |
| HEX | #411849 | color: #411849 | |
| RGB | rgb(65, 24, 73) | color: rgb(65, 24, 73) | |
| CMYK | cmyk(11%, 67%, 0%, 71%) | — | |
| HSV | hsv(290, 67%, 29%) | — | |
| HWB | hwb(290 10% 71%) | color: hwb(290 10% 71%) | |
| OKLCH | oklch(0.2947 0.0961 320.81) | color: oklch(0.2947 0.0961 320.81) | |
| Lab | lab(16.79 28.27 -21.8) | color: lab(16.79 28.27 -21.8) | |
| LCH | lch(16.79 35.7 322.36) | color: lch(16.79 35.7 322.36) |
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)
#2F2F3D — rgb(47, 47, 61)
Deuteranopia (Green-blind)
#32353A — rgb(50, 53, 58)
Tritanopia (Blue-blind)
#3F3432 — rgb(63, 52, 50)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(291, 50%, 19%);
text
color: hsl(291, 50%, 19%);
border
border: 2px solid hsl(291, 50%, 19%);
gradient light
background: linear-gradient(to right, hsl(291, 50%, 39%), hsl(291, 50%, 19%));
gradient dark
background: linear-gradient(to right, hsl(291, 50%, 19%), hsl(291, 50%, 0%))
hex
background-color: #411849;
tailwind
bg-[hsl(291,50%,19%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(291, 50%, 19%, 0.4);
css variable
--color-primary: hsl(291, 50%, 19%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(291, 50%, 19%)?
HEX: #411849 | RGB: rgb(65, 24, 73) | CMYK: 11%, 67%, 0%, 71% | HSV: 290°, 67%, 29%. Copy any format from the conversion table above.
What colors go well with #411849?
The complementary color is HSL(111, 50%, 19%). For a triadic harmony, use hues 291°, 51°, and 171°. For analogous combinations, try hues 261° and 321°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(291, 50%, 19%) in CSS?
As HSL: color: hsl(291, 50%, 19%); — As HEX: color: #411849; — As RGB: color: rgb(65, 24, 73); — Tailwind CSS: bg-[hsl(291,50%,19%)] — CSS variable: --color-primary: hsl(291, 50%, 19%);