#413b49
a dark, muted violet · warm · closest name: darkslategray
RGB
65, 59, 73
HSL
266°, 11%, 26%
CMYK
11, 19, 0, 71
Luminance
0.0473
Every format
| HEX | #413b49 |
| RGB | rgb(65, 59, 73) |
| HSL | hsl(266, 11%, 26%) |
| CMYK | cmyk(11%, 19%, 0%, 71%) |
| LAB | lab(26.0 5.8 -7.6) |
| LCH | lch(26.0 9.6 307.4) |
| OKLCH | oklch(0.364 0.025 304.6) |
Copy-ready code
/* CSS */
color: #413b49;
background-color: #413b49;
/* Tailwind (arbitrary) */
class="text-[#413b49] bg-[#413b49]"
/* SCSS */
$brand: #413b49;
/* SwiftUI */
Color(red: 0.255, green: 0.231, blue: 0.286)
/* Android */
Color.parseColor("#413b49")Accessibility — WCAG contrast
Aa
#413b49 on white: 10.79:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#413b49 on black: 1.95:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red25.5%
Green23.1%
Blue28.6%
CMYK percentages
Cyan11.0%
Magenta19.2%
Yellow0.0%
Key (black)71.4%
Color previews
#413b49 text on a black background
contrast 1.95:1
Card sample
#413b49 text on a white background
contrast 10.79:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #413b49;
Background color
Panel with #413b49 background
background-color: #413b49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #413b49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(65, 59, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(65, 59, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #413b49; background: linear-gradient(135deg, #413b49, #493B48);