#4f22ff
a balanced, electric blue · warm · closest name: blue
RGB
79, 34, 255
HSL
252°, 100%, 57%
CMYK
69, 87, 0, 0
Luminance
0.1003
Every format
| HEX | #4f22ff |
| RGB | rgb(79, 34, 255) |
| HSL | hsl(252, 100%, 57%) |
| CMYK | cmyk(69%, 87%, 0%, 0%) |
| LAB | lab(37.9 74.0 -98.5) |
| LCH | lch(37.9 123.2 306.9) |
| OKLCH | oklch(0.499 0.287 277.4) |
Copy-ready code
/* CSS */
color: #4f22ff;
background-color: #4f22ff;
/* Tailwind (arbitrary) */
class="text-[#4f22ff] bg-[#4f22ff]"
/* SCSS */
$brand: #4f22ff;
/* SwiftUI */
Color(red: 0.310, green: 0.133, blue: 1.000)
/* Android */
Color.parseColor("#4f22ff")Accessibility — WCAG contrast
Aa
#4f22ff on white: 6.99:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#4f22ff on black: 3.01:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red31.0%
Green13.3%
Blue100.0%
CMYK percentages
Cyan69.0%
Magenta86.7%
Yellow0.0%
Key (black)0.0%
Color previews
#4f22ff text on a black background
contrast 3.01:1
Card sample
#4f22ff text on a white background
contrast 6.99:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #4f22ff;
Background color
Panel with #4f22ff background
background-color: #4f22ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #4f22ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(79, 34, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(79, 34, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4f22ff; background: linear-gradient(135deg, #4f22ff, #E222FF);