#490df4
a balanced, electric violet · warm · closest name: blue
RGB
73, 13, 244
HSL
256°, 91%, 50%
CMYK
70, 95, 0, 4
Luminance
0.0824
Every format
| HEX | #490df4 |
| RGB | rgb(73, 13, 244) |
| HSL | hsl(256, 91%, 50%) |
| CMYK | cmyk(70%, 95%, 0%, 4%) |
| LAB | lab(34.5 75.9 -98.0) |
| LCH | lch(34.5 124.0 307.8) |
| OKLCH | oklch(0.471 0.285 277.2) |
Copy-ready code
/* CSS */
color: #490df4;
background-color: #490df4;
/* Tailwind (arbitrary) */
class="text-[#490df4] bg-[#490df4]"
/* SCSS */
$brand: #490df4;
/* SwiftUI */
Color(red: 0.286, green: 0.051, blue: 0.957)
/* Android */
Color.parseColor("#490df4")Accessibility — WCAG contrast
Aa
#490df4 on white: 7.93:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#490df4 on black: 2.65:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red28.6%
Green5.1%
Blue95.7%
CMYK percentages
Cyan70.1%
Magenta94.7%
Yellow0.0%
Key (black)4.3%
Color previews
#490df4 text on a black background
contrast 2.65:1
Card sample
#490df4 text on a white background
contrast 7.93:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #490df4;
Background color
Panel with #490df4 background
background-color: #490df4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #490df4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(73, 13, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(73, 13, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #490df4; background: linear-gradient(135deg, #490df4, #E30DF4);