#670df4
a balanced, electric violet · warm · closest name: blue
RGB
103, 13, 244
HSL
263°, 91%, 50%
CMYK
58, 95, 0, 4
Luminance
0.0970
Every format
| HEX | #670df4 |
| RGB | rgb(103, 13, 244) |
| HSL | hsl(263, 91%, 50%) |
| CMYK | cmyk(58%, 95%, 0%, 4%) |
| LAB | lab(37.3 77.5 -93.2) |
| LCH | lch(37.3 121.2 309.8) |
| OKLCH | oklch(0.496 0.281 287.1) |
Copy-ready code
/* CSS */
color: #670df4;
background-color: #670df4;
/* Tailwind (arbitrary) */
class="text-[#670df4] bg-[#670df4]"
/* SCSS */
$brand: #670df4;
/* SwiftUI */
Color(red: 0.404, green: 0.051, blue: 0.957)
/* Android */
Color.parseColor("#670df4")Accessibility — WCAG contrast
Aa
#670df4 on white: 7.14:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#670df4 on black: 2.94:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red40.4%
Green5.1%
Blue95.7%
CMYK percentages
Cyan57.8%
Magenta94.7%
Yellow0.0%
Key (black)4.3%
Color previews
#670df4 text on a black background
contrast 2.94:1
Card sample
#670df4 text on a white background
contrast 7.14:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #670df4;
Background color
Panel with #670df4 background
background-color: #670df4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #670df4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(103, 13, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(103, 13, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #670df4; background: linear-gradient(135deg, #670df4, #F40DE7);