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