#5000ac
a dark, electric violet · warm · closest name: navy
RGB
80, 0, 172
HSL
268°, 100%, 34%
CMYK
54, 100, 0, 33
Luminance
0.0468
Every format
| HEX | #5000ac |
| RGB | rgb(80, 0, 172) |
| HSL | hsl(268, 100%, 34%) |
| CMYK | cmyk(54%, 100%, 0%, 33%) |
| LAB | lab(25.8 61.6 -70.4) |
| LCH | lch(25.8 93.5 311.2) |
| OKLCH | oklch(0.390 0.218 292.0) |
Copy-ready code
/* CSS */
color: #5000ac;
background-color: #5000ac;
/* Tailwind (arbitrary) */
class="text-[#5000ac] bg-[#5000ac]"
/* SCSS */
$brand: #5000ac;
/* SwiftUI */
Color(red: 0.314, green: 0.000, blue: 0.675)
/* Android */
Color.parseColor("#5000ac")Accessibility — WCAG contrast
Aa
#5000ac on white: 10.84:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#5000ac on black: 1.94:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red31.4%
Green0.0%
Blue67.5%
CMYK percentages
Cyan53.5%
Magenta100.0%
Yellow0.0%
Key (black)32.5%
Color previews
#5000ac text on a black background
contrast 1.94:1
Card sample
#5000ac text on a white background
contrast 10.84:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #5000ac;
Background color
Panel with #5000ac background
background-color: #5000ac;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #5000ac;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(80, 0, 172, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(80, 0, 172, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5000ac; background: linear-gradient(135deg, #5000ac, #AC0095);