#4100c3
a dark, electric violet · warm · closest name: navy
RGB
65, 0, 195
HSL
260°, 100%, 38%
CMYK
67, 100, 0, 24
Luminance
0.0506
Every format
| HEX | #4100c3 |
| RGB | rgb(65, 0, 195) |
| HSL | hsl(260, 100%, 38%) |
| CMYK | cmyk(67%, 100%, 0%, 24%) |
| LAB | lab(26.9 66.0 -82.3) |
| LCH | lch(26.9 105.5 308.7) |
| OKLCH | oklch(0.401 0.241 280.8) |
Copy-ready code
/* CSS */
color: #4100c3;
background-color: #4100c3;
/* Tailwind (arbitrary) */
class="text-[#4100c3] bg-[#4100c3]"
/* SCSS */
$brand: #4100c3;
/* SwiftUI */
Color(red: 0.255, green: 0.000, blue: 0.765)
/* Android */
Color.parseColor("#4100c3")Accessibility — WCAG contrast
Aa
#4100c3 on white: 10.43:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#4100c3 on black: 2.01:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red25.5%
Green0.0%
Blue76.5%
CMYK percentages
Cyan66.7%
Magenta100.0%
Yellow0.0%
Key (black)23.5%
Color previews
#4100c3 text on a black background
contrast 2.01:1
Card sample
#4100c3 text on a white background
contrast 10.43:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #4100c3;
Background color
Panel with #4100c3 background
background-color: #4100c3;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #4100c3;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(65, 0, 195, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(65, 0, 195, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4100c3; background: linear-gradient(135deg, #4100c3, #C300C3);