#641dfd
a balanced, electric violet · warm · closest name: blue
RGB
100, 29, 253
HSL
259°, 98%, 55%
CMYK
61, 89, 0, 1
Luminance
0.1068
Every format
| HEX | #641dfd |
| RGB | rgb(100, 29, 253) |
| HSL | hsl(259, 98%, 55%) |
| CMYK | cmyk(61%, 89%, 0%, 1%) |
| LAB | lab(39.0 76.3 -95.4) |
| LCH | lch(39.0 122.1 308.6) |
| OKLCH | oklch(0.510 0.284 284.3) |
Copy-ready code
/* CSS */
color: #641dfd;
background-color: #641dfd;
/* Tailwind (arbitrary) */
class="text-[#641dfd] bg-[#641dfd]"
/* SCSS */
$brand: #641dfd;
/* SwiftUI */
Color(red: 0.392, green: 0.114, blue: 0.992)
/* Android */
Color.parseColor("#641dfd")Accessibility — WCAG contrast
Aa
#641dfd on white: 6.70:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#641dfd on black: 3.14:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red39.2%
Green11.4%
Blue99.2%
CMYK percentages
Cyan60.5%
Magenta88.5%
Yellow0.0%
Key (black)0.8%
Color previews
#641dfd text on a black background
contrast 3.14:1
Card sample
#641dfd text on a white background
contrast 6.70:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #641dfd;
Background color
Panel with #641dfd background
background-color: #641dfd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #641dfd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(100, 29, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(100, 29, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #641dfd; background: linear-gradient(135deg, #641dfd, #F91DFD);