#7c01f1
a balanced, electric violet · warm · closest name: blue
RGB
124, 1, 241
HSL
271°, 99%, 48%
CMYK
49, 100, 0, 6
Luminance
0.1066
Every format
| HEX | #7c01f1 |
| RGB | rgb(124, 1, 241) |
| HSL | hsl(271, 99%, 48%) |
| CMYK | cmyk(49%, 100%, 0%, 6%) |
| LAB | lab(39.0 79.8 -88.6) |
| LCH | lch(39.0 119.3 312.0) |
| OKLCH | oklch(0.512 0.281 295.1) |
Copy-ready code
/* CSS */
color: #7c01f1;
background-color: #7c01f1;
/* Tailwind (arbitrary) */
class="text-[#7c01f1] bg-[#7c01f1]"
/* SCSS */
$brand: #7c01f1;
/* SwiftUI */
Color(red: 0.486, green: 0.004, blue: 0.945)
/* Android */
Color.parseColor("#7c01f1")Accessibility — WCAG contrast
Aa
#7c01f1 on white: 6.71:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#7c01f1 on black: 3.13:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red48.6%
Green0.4%
Blue94.5%
CMYK percentages
Cyan48.5%
Magenta99.6%
Yellow0.0%
Key (black)5.5%
Color previews
#7c01f1 text on a black background
contrast 3.13:1
Card sample
#7c01f1 text on a white background
contrast 6.71:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #7c01f1;
Background color
Panel with #7c01f1 background
background-color: #7c01f1;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #7c01f1;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(124, 1, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(124, 1, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7c01f1; background: linear-gradient(135deg, #7c01f1, #F101C6);