#7c0180
a dark, electric magenta / pink · warm · “purple”
RGB
124, 1, 128
HSL
298°, 98%, 25%
CMYK
3, 99, 0, 50
Luminance
0.0587
Every format
| HEX | #7c0180 |
| RGB | rgb(124, 1, 128) |
| HSL | hsl(298, 98%, 25%) |
| CMYK | cmyk(3%, 99%, 0%, 50%) |
| LAB | lab(29.1 58.1 -37.7) |
| LCH | lch(29.1 69.2 327.0) |
| OKLCH | oklch(0.414 0.191 326.7) |
Copy-ready code
/* CSS */
color: #7c0180;
background-color: #7c0180;
/* Tailwind (arbitrary) */
class="text-[#7c0180] bg-[#7c0180]"
/* SCSS */
$brand: #7c0180;
/* SwiftUI */
Color(red: 0.486, green: 0.004, blue: 0.502)
/* Android */
Color.parseColor("#7c0180")Accessibility — WCAG contrast
Aa
#7c0180 on white: 9.66:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#7c0180 on black: 2.17:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red48.6%
Green0.4%
Blue50.2%
CMYK percentages
Cyan3.1%
Magenta99.2%
Yellow0.0%
Key (black)49.8%
Color previews
#7c0180 text on a black background
contrast 2.17:1
Card sample
#7c0180 text on a white background
contrast 9.66:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #7c0180;
Background color
Panel with #7c0180 background
background-color: #7c0180;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #7c0180;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(124, 1, 128, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(124, 1, 128, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7c0180; background: linear-gradient(135deg, #7c0180, #80012F);