#241f29
a deep, muted violet · warm · closest name: black
RGB
36, 31, 41
HSL
270°, 14%, 14%
CMYK
12, 24, 0, 84
Luminance
0.0152
Every format
| HEX | #241f29 |
| RGB | rgb(36, 31, 41) |
| HSL | hsl(270, 14%, 14%) |
| CMYK | cmyk(12%, 24%, 0%, 84%) |
| LAB | lab(12.7 4.9 -5.8) |
| LCH | lch(12.7 7.6 310.0) |
| OKLCH | oklch(0.249 0.020 307.6) |
Copy-ready code
/* CSS */
color: #241f29;
background-color: #241f29;
/* Tailwind (arbitrary) */
class="text-[#241f29] bg-[#241f29]"
/* SCSS */
$brand: #241f29;
/* SwiftUI */
Color(red: 0.141, green: 0.122, blue: 0.161)
/* Android */
Color.parseColor("#241f29")Accessibility — WCAG contrast
Aa
#241f29 on white: 16.12:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#241f29 on black: 1.30:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red14.1%
Green12.2%
Blue16.1%
CMYK percentages
Cyan12.2%
Magenta24.4%
Yellow0.0%
Key (black)83.9%
Color previews
#241f29 text on a black background
contrast 1.30:1
Card sample
#241f29 text on a white background
contrast 16.12:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #241f29;
Background color
Panel with #241f29 background
background-color: #241f29;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #241f29;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(36, 31, 41, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(36, 31, 41, 0.45);
Border & gradient
Gradient panel
border: 3px solid #241f29; background: linear-gradient(135deg, #241f29, #291F27);