#5000c8
a dark, electric violet · warm · closest name: blue
RGB
80, 0, 200
HSL
264°, 100%, 39%
CMYK
60, 100, 0, 22
Luminance
0.0588
Every format
| HEX | #5000c8 |
| RGB | rgb(80, 0, 200) |
| HSL | hsl(264, 100%, 39%) |
| CMYK | cmyk(60%, 100%, 0%, 22%) |
| LAB | lab(29.1 68.0 -81.6) |
| LCH | lch(29.1 106.2 309.8) |
| OKLCH | oklch(0.421 0.244 286.1) |
Copy-ready code
/* CSS */
color: #5000c8;
background-color: #5000c8;
/* Tailwind (arbitrary) */
class="text-[#5000c8] bg-[#5000c8]"
/* SCSS */
$brand: #5000c8;
/* SwiftUI */
Color(red: 0.314, green: 0.000, blue: 0.784)
/* Android */
Color.parseColor("#5000c8")Accessibility — WCAG contrast
Aa
#5000c8 on white: 9.65:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#5000c8 on black: 2.18:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red31.4%
Green0.0%
Blue78.4%
CMYK percentages
Cyan60.0%
Magenta100.0%
Yellow0.0%
Key (black)21.6%
Color previews
#5000c8 text on a black background
contrast 2.18:1
Card sample
#5000c8 text on a white background
contrast 9.65:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #5000c8;
Background color
Panel with #5000c8 background
background-color: #5000c8;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #5000c8;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(80, 0, 200, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(80, 0, 200, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5000c8; background: linear-gradient(135deg, #5000c8, #C800BB);