#500fdf
a balanced, electric violet · warm · closest name: blue
RGB
80, 15, 223
HSL
259°, 87%, 47%
CMYK
64, 93, 0, 13
Luminance
0.0737
Every format
| HEX | #500fdf |
| RGB | rgb(80, 15, 223) |
| HSL | hsl(259, 87%, 47%) |
| CMYK | cmyk(64%, 93%, 0%, 13%) |
| LAB | lab(32.6 70.9 -89.0) |
| LCH | lch(32.6 113.8 308.5) |
| OKLCH | oklch(0.453 0.262 282.0) |
Copy-ready code
/* CSS */
color: #500fdf;
background-color: #500fdf;
/* Tailwind (arbitrary) */
class="text-[#500fdf] bg-[#500fdf]"
/* SCSS */
$brand: #500fdf;
/* SwiftUI */
Color(red: 0.314, green: 0.059, blue: 0.875)
/* Android */
Color.parseColor("#500fdf")Accessibility — WCAG contrast
Aa
#500fdf on white: 8.48:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#500fdf on black: 2.47:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red31.4%
Green5.9%
Blue87.5%
CMYK percentages
Cyan64.1%
Magenta93.3%
Yellow0.0%
Key (black)12.5%
Color previews
#500fdf text on a black background
contrast 2.47:1
Card sample
#500fdf text on a white background
contrast 8.48:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #500fdf;
Background color
Panel with #500fdf background
background-color: #500fdf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #500fdf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(80, 15, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(80, 15, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #500fdf; background: linear-gradient(135deg, #500fdf, #DB0FDF);