#6c01ff
a balanced, electric violet · warm · closest name: blue
RGB
108, 1, 255
HSL
265°, 100%, 50%
CMYK
58, 100, 0, 0
Luminance
0.1043
Every format
| HEX | #6c01ff |
| RGB | rgb(108, 1, 255) |
| HSL | hsl(265, 100%, 50%) |
| CMYK | cmyk(58%, 100%, 0%, 0%) |
| LAB | lab(38.6 81.7 -97.2) |
| LCH | lch(38.6 127.0 310.1) |
| OKLCH | oklch(0.510 0.293 287.3) |
Copy-ready code
/* CSS */
color: #6c01ff;
background-color: #6c01ff;
/* Tailwind (arbitrary) */
class="text-[#6c01ff] bg-[#6c01ff]"
/* SCSS */
$brand: #6c01ff;
/* SwiftUI */
Color(red: 0.424, green: 0.004, blue: 1.000)
/* Android */
Color.parseColor("#6c01ff")Accessibility — WCAG contrast
Aa
#6c01ff on white: 6.80:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#6c01ff on black: 3.09:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red42.4%
Green0.4%
Blue100.0%
CMYK percentages
Cyan57.6%
Magenta99.6%
Yellow0.0%
Key (black)0.0%
Color previews
#6c01ff text on a black background
contrast 3.09:1
Card sample
#6c01ff text on a white background
contrast 6.80:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #6c01ff;
Background color
Panel with #6c01ff background
background-color: #6c01ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #6c01ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(108, 1, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(108, 1, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6c01ff; background: linear-gradient(135deg, #6c01ff, #FF01E9);