#6c0164
a deep, electric magenta / pink · warm · closest name: purple
RGB
108, 1, 100
HSL
305°, 98%, 21%
CMYK
0, 99, 7, 58
Luminance
0.0413
Every format
| HEX | #6c0164 |
| RGB | rgb(108, 1, 100) |
| HSL | hsl(305, 98%, 21%) |
| CMYK | cmyk(0%, 99%, 7%, 58%) |
| LAB | lab(24.1 50.7 -27.8) |
| LCH | lch(24.1 57.9 331.3) |
| OKLCH | oklch(0.368 0.165 332.3) |
Copy-ready code
/* CSS */
color: #6c0164;
background-color: #6c0164;
/* Tailwind (arbitrary) */
class="text-[#6c0164] bg-[#6c0164]"
/* SCSS */
$brand: #6c0164;
/* SwiftUI */
Color(red: 0.424, green: 0.004, blue: 0.392)
/* Android */
Color.parseColor("#6c0164")Accessibility — WCAG contrast
Aa
#6c0164 on white: 11.50:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#6c0164 on black: 1.83:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red42.4%
Green0.4%
Blue39.2%
CMYK percentages
Cyan0.0%
Magenta99.1%
Yellow7.4%
Key (black)57.6%
Color previews
#6c0164 text on a black background
contrast 1.83:1
Card sample
#6c0164 text on a white background
contrast 11.50:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #6c0164;
Background color
Panel with #6c0164 background
background-color: #6c0164;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #6c0164;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(108, 1, 100, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(108, 1, 100, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6c0164; background: linear-gradient(135deg, #6c0164, #6C011D);