#a613cf
a dark, electric violet · warm · closest name: magenta
RGB
166, 19, 207
HSL
287°, 83%, 44%
CMYK
20, 91, 0, 19
Luminance
0.1308
Every format
| HEX | #a613cf |
| RGB | rgb(166, 19, 207) |
| HSL | hsl(287, 83%, 44%) |
| CMYK | cmyk(20%, 91%, 0%, 19%) |
| LAB | lab(42.9 75.8 -62.5) |
| LCH | lch(42.9 98.3 320.5) |
| OKLCH | oklch(0.542 0.256 316.4) |
Copy-ready code
/* CSS */
color: #a613cf;
background-color: #a613cf;
/* Tailwind (arbitrary) */
class="text-[#a613cf] bg-[#a613cf]"
/* SCSS */
$brand: #a613cf;
/* SwiftUI */
Color(red: 0.651, green: 0.075, blue: 0.812)
/* Android */
Color.parseColor("#a613cf")Accessibility — WCAG contrast
Aa
#a613cf on white: 5.81:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#a613cf on black: 3.62:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red65.1%
Green7.5%
Blue81.2%
CMYK percentages
Cyan19.8%
Magenta90.8%
Yellow0.0%
Key (black)18.8%
Color previews
#a613cf text on a black background
contrast 3.62:1
Card sample
#a613cf text on a white background
contrast 5.81:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a613cf;
Background color
Panel with #a613cf background
background-color: #a613cf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a613cf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(166, 19, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(166, 19, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a613cf; background: linear-gradient(135deg, #a613cf, #CF137B);