#560df3
a balanced, electric violet · warm · closest name: blue
RGB
86, 13, 243
HSL
259°, 91%, 50%
CMYK
65, 95, 0, 5
Luminance
0.0874
Every format
| HEX | #560df3 |
| RGB | rgb(86, 13, 243) |
| HSL | hsl(259, 91%, 50%) |
| CMYK | cmyk(65%, 95%, 0%, 5%) |
| LAB | lab(35.5 76.3 -95.7) |
| LCH | lch(35.5 122.4 308.6) |
| OKLCH | oklch(0.480 0.281 281.5) |
Copy-ready code
/* CSS */
color: #560df3;
background-color: #560df3;
/* Tailwind (arbitrary) */
class="text-[#560df3] bg-[#560df3]"
/* SCSS */
$brand: #560df3;
/* SwiftUI */
Color(red: 0.337, green: 0.051, blue: 0.953)
/* Android */
Color.parseColor("#560df3")Accessibility — WCAG contrast
Aa
#560df3 on white: 7.64:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#560df3 on black: 2.75:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red33.7%
Green5.1%
Blue95.3%
CMYK percentages
Cyan64.6%
Magenta94.7%
Yellow0.0%
Key (black)4.7%
Color previews
#560df3 text on a black background
contrast 2.75:1
Card sample
#560df3 text on a white background
contrast 7.64:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #560df3;
Background color
Panel with #560df3 background
background-color: #560df3;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #560df3;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(86, 13, 243, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(86, 13, 243, 0.45);
Border & gradient
Gradient panel
border: 3px solid #560df3; background: linear-gradient(135deg, #560df3, #EF0DF3);