#6428df
a balanced, vivid violet · warm · closest name: blue
RGB
100, 40, 223
HSL
260°, 74%, 52%
CMYK
55, 82, 0, 13
Luminance
0.0955
Every format
| HEX | #6428df |
| RGB | rgb(100, 40, 223) |
| HSL | hsl(260, 74%, 52%) |
| CMYK | cmyk(55%, 82%, 0%, 13%) |
| LAB | lab(37.0 65.5 -81.7) |
| LCH | lch(37.0 104.7 308.7) |
| OKLCH | oklch(0.487 0.247 288.1) |
Copy-ready code
/* CSS */
color: #6428df;
background-color: #6428df;
/* Tailwind (arbitrary) */
class="text-[#6428df] bg-[#6428df]"
/* SCSS */
$brand: #6428df;
/* SwiftUI */
Color(red: 0.392, green: 0.157, blue: 0.875)
/* Android */
Color.parseColor("#6428df")Accessibility — WCAG contrast
Aa
#6428df on white: 7.21:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#6428df on black: 2.91:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red39.2%
Green15.7%
Blue87.5%
CMYK percentages
Cyan55.2%
Magenta82.1%
Yellow0.0%
Key (black)12.5%
Color previews
#6428df text on a black background
contrast 2.91:1
Card sample
#6428df text on a white background
contrast 7.21:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #6428df;
Background color
Panel with #6428df background
background-color: #6428df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #6428df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(100, 40, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(100, 40, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6428df; background: linear-gradient(135deg, #6428df, #DE28DF);