#652fdf
a balanced, vivid violet · warm · closest name: blue
RGB
101, 47, 223
HSL
258°, 73%, 53%
CMYK
55, 79, 0, 13
Luminance
0.1013
Every format
| HEX | #652fdf |
| RGB | rgb(101, 47, 223) |
| HSL | hsl(258, 73%, 53%) |
| CMYK | cmyk(55%, 79%, 0%, 13%) |
| LAB | lab(38.1 62.8 -80.0) |
| LCH | lch(38.1 101.7 308.2) |
| OKLCH | oklch(0.495 0.242 287.9) |
Copy-ready code
/* CSS */
color: #652fdf;
background-color: #652fdf;
/* Tailwind (arbitrary) */
class="text-[#652fdf] bg-[#652fdf]"
/* SCSS */
$brand: #652fdf;
/* SwiftUI */
Color(red: 0.396, green: 0.184, blue: 0.875)
/* Android */
Color.parseColor("#652fdf")Accessibility — WCAG contrast
Aa
#652fdf on white: 6.94:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#652fdf on black: 3.03:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red39.6%
Green18.4%
Blue87.5%
CMYK percentages
Cyan54.7%
Magenta78.9%
Yellow0.0%
Key (black)12.5%
Color previews
#652fdf text on a black background
contrast 3.03:1
Card sample
#652fdf text on a white background
contrast 6.94:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #652fdf;
Background color
Panel with #652fdf background
background-color: #652fdf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #652fdf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(101, 47, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(101, 47, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #652fdf; background: linear-gradient(135deg, #652fdf, #DA2FDF);