#412f49
a deep, soft violet · warm · closest name: darkslategray
RGB
65, 47, 73
HSL
282°, 22%, 24%
CMYK
11, 36, 0, 71
Luminance
0.0364
Every format
| HEX | #412f49 |
| RGB | rgb(65, 47, 73) |
| HSL | hsl(282, 22%, 24%) |
| CMYK | cmyk(11%, 36%, 0%, 71%) |
| LAB | lab(22.4 13.8 -13.0) |
| LCH | lch(22.4 19.0 316.9) |
| OKLCH | oklch(0.337 0.050 315.1) |
Copy-ready code
/* CSS */
color: #412f49;
background-color: #412f49;
/* Tailwind (arbitrary) */
class="text-[#412f49] bg-[#412f49]"
/* SCSS */
$brand: #412f49;
/* SwiftUI */
Color(red: 0.255, green: 0.184, blue: 0.286)
/* Android */
Color.parseColor("#412f49")Accessibility — WCAG contrast
Aa
#412f49 on white: 12.16:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#412f49 on black: 1.73:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red25.5%
Green18.4%
Blue28.6%
CMYK percentages
Cyan11.0%
Magenta35.6%
Yellow0.0%
Key (black)71.4%
Color previews
#412f49 text on a black background
contrast 1.73:1
Card sample
#412f49 text on a white background
contrast 12.16:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #412f49;
Background color
Panel with #412f49 background
background-color: #412f49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #412f49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(65, 47, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(65, 47, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #412f49; background: linear-gradient(135deg, #412f49, #492F40);