#600df0
a balanced, electric violet · warm · closest name: blue
RGB
96, 13, 240
HSL
262°, 90%, 50%
CMYK
60, 95, 0, 6
Luminance
0.0907
Every format
| HEX | #600df0 |
| RGB | rgb(96, 13, 240) |
| HSL | hsl(262, 90%, 50%) |
| CMYK | cmyk(60%, 95%, 0%, 6%) |
| LAB | lab(36.1 76.2 -92.9) |
| LCH | lch(36.1 120.2 309.3) |
| OKLCH | oklch(0.485 0.277 285.3) |
Copy-ready code
/* CSS */
color: #600df0;
background-color: #600df0;
/* Tailwind (arbitrary) */
class="text-[#600df0] bg-[#600df0]"
/* SCSS */
$brand: #600df0;
/* SwiftUI */
Color(red: 0.376, green: 0.051, blue: 0.941)
/* Android */
Color.parseColor("#600df0")Accessibility — WCAG contrast
Aa
#600df0 on white: 7.46:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#600df0 on black: 2.81:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red37.6%
Green5.1%
Blue94.1%
CMYK percentages
Cyan60.0%
Magenta94.6%
Yellow0.0%
Key (black)5.9%
Color previews
#600df0 text on a black background
contrast 2.81:1
Card sample
#600df0 text on a white background
contrast 7.46:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #600df0;
Background color
Panel with #600df0 background
background-color: #600df0;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #600df0;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(96, 13, 240, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(96, 13, 240, 0.45);
Border & gradient
Gradient panel
border: 3px solid #600df0; background: linear-gradient(135deg, #600df0, #F00DE9);