#6001d2
a dark, electric violet · warm · closest name: blue
RGB
96, 1, 210
HSL
267°, 99%, 41%
CMYK
54, 100, 0, 18
Luminance
0.0716
Every format
| HEX | #6001d2 |
| RGB | rgb(96, 1, 210) |
| HSL | hsl(267, 99%, 41%) |
| CMYK | cmyk(54%, 100%, 0%, 18%) |
| LAB | lab(32.2 71.1 -82.3) |
| LCH | lch(32.2 108.7 310.8) |
| OKLCH | oklch(0.449 0.253 290.7) |
Copy-ready code
/* CSS */
color: #6001d2;
background-color: #6001d2;
/* Tailwind (arbitrary) */
class="text-[#6001d2] bg-[#6001d2]"
/* SCSS */
$brand: #6001d2;
/* SwiftUI */
Color(red: 0.376, green: 0.004, blue: 0.824)
/* Android */
Color.parseColor("#6001d2")Accessibility — WCAG contrast
Aa
#6001d2 on white: 8.63:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#6001d2 on black: 2.43:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red37.6%
Green0.4%
Blue82.4%
CMYK percentages
Cyan54.3%
Magenta99.5%
Yellow0.0%
Key (black)17.6%
Color previews
#6001d2 text on a black background
contrast 2.43:1
Card sample
#6001d2 text on a white background
contrast 8.63:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #6001d2;
Background color
Panel with #6001d2 background
background-color: #6001d2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #6001d2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(96, 1, 210, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(96, 1, 210, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6001d2; background: linear-gradient(135deg, #6001d2, #D201B9);