#560bdf
a balanced, electric violet · warm · closest name: blue
RGB
86, 11, 223
HSL
261°, 91%, 46%
CMYK
61, 95, 0, 13
Luminance
0.0755
Every format
| HEX | #560bdf |
| RGB | rgb(86, 11, 223) |
| HSL | hsl(261, 91%, 46%) |
| CMYK | cmyk(61%, 95%, 0%, 13%) |
| LAB | lab(33.0 71.9 -88.4) |
| LCH | lch(33.0 114.0 309.1) |
| OKLCH | oklch(0.457 0.263 284.3) |
Copy-ready code
/* CSS */
color: #560bdf;
background-color: #560bdf;
/* Tailwind (arbitrary) */
class="text-[#560bdf] bg-[#560bdf]"
/* SCSS */
$brand: #560bdf;
/* SwiftUI */
Color(red: 0.337, green: 0.043, blue: 0.875)
/* Android */
Color.parseColor("#560bdf")Accessibility — WCAG contrast
Aa
#560bdf on white: 8.37:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#560bdf on black: 2.51:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red33.7%
Green4.3%
Blue87.5%
CMYK percentages
Cyan61.4%
Magenta95.1%
Yellow0.0%
Key (black)12.5%
Color previews
#560bdf text on a black background
contrast 2.51:1
Card sample
#560bdf text on a white background
contrast 8.37:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #560bdf;
Background color
Panel with #560bdf background
background-color: #560bdf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #560bdf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(86, 11, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(86, 11, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #560bdf; background: linear-gradient(135deg, #560bdf, #DF0BDB);