#3f2f46
a deep, soft violet · warm · closest name: darkslategray
RGB
63, 47, 70
HSL
282°, 20%, 23%
CMYK
10, 33, 0, 73
Luminance
0.0353
Every format
| HEX | #3f2f46 |
| RGB | rgb(63, 47, 70) |
| HSL | hsl(282, 20%, 23%) |
| CMYK | cmyk(10%, 33%, 0%, 73%) |
| LAB | lab(22.1 12.3 -11.6) |
| LCH | lch(22.1 16.9 316.8) |
| OKLCH | oklch(0.333 0.045 315.4) |
Copy-ready code
/* CSS */
color: #3f2f46;
background-color: #3f2f46;
/* Tailwind (arbitrary) */
class="text-[#3f2f46] bg-[#3f2f46]"
/* SCSS */
$brand: #3f2f46;
/* SwiftUI */
Color(red: 0.247, green: 0.184, blue: 0.275)
/* Android */
Color.parseColor("#3f2f46")Accessibility — WCAG contrast
Aa
#3f2f46 on white: 12.31:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#3f2f46 on black: 1.71:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red24.7%
Green18.4%
Blue27.5%
CMYK percentages
Cyan10.0%
Magenta32.9%
Yellow0.0%
Key (black)72.5%
Color previews
#3f2f46 text on a black background
contrast 1.71:1
Card sample
#3f2f46 text on a white background
contrast 12.31:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #3f2f46;
Background color
Panel with #3f2f46 background
background-color: #3f2f46;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #3f2f46;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(63, 47, 70, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(63, 47, 70, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3f2f46; background: linear-gradient(135deg, #3f2f46, #462F3E);