#620bdf
a balanced, electric violet · warm · closest name: blue
RGB
98, 11, 223
HSL
265°, 91%, 46%
CMYK
56, 95, 0, 13
Luminance
0.0816
Every format
| HEX | #620bdf |
| RGB | rgb(98, 11, 223) |
| HSL | hsl(265, 91%, 46%) |
| CMYK | cmyk(56%, 95%, 0%, 13%) |
| LAB | lab(34.3 72.7 -86.2) |
| LCH | lch(34.3 112.8 310.2) |
| OKLCH | oklch(0.468 0.262 288.8) |
Copy-ready code
/* CSS */
color: #620bdf;
background-color: #620bdf;
/* Tailwind (arbitrary) */
class="text-[#620bdf] bg-[#620bdf]"
/* SCSS */
$brand: #620bdf;
/* SwiftUI */
Color(red: 0.384, green: 0.043, blue: 0.875)
/* Android */
Color.parseColor("#620bdf")Accessibility — WCAG contrast
Aa
#620bdf on white: 7.98:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#620bdf on black: 2.63:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red38.4%
Green4.3%
Blue87.5%
CMYK percentages
Cyan56.1%
Magenta95.1%
Yellow0.0%
Key (black)12.5%
Color previews
#620bdf text on a black background
contrast 2.63:1
Card sample
#620bdf text on a white background
contrast 7.98:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #620bdf;
Background color
Panel with #620bdf background
background-color: #620bdf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #620bdf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(98, 11, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(98, 11, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #620bdf; background: linear-gradient(135deg, #620bdf, #DF0BCF);