#6f39db
a balanced, vivid violet · warm · closest name: slateblue
RGB
111, 57, 219
HSL
260°, 69%, 54%
CMYK
49, 74, 0, 14
Luminance
0.1142
Every format
| HEX | #6f39db |
| RGB | rgb(111, 57, 219) |
| HSL | hsl(260, 69%, 54%) |
| CMYK | cmyk(49%, 74%, 0%, 14%) |
| LAB | lab(40.3 58.7 -74.0) |
| LCH | lch(40.3 94.5 308.4) |
| OKLCH | oklch(0.511 0.228 291.4) |
Copy-ready code
/* CSS */
color: #6f39db;
background-color: #6f39db;
/* Tailwind (arbitrary) */
class="text-[#6f39db] bg-[#6f39db]"
/* SCSS */
$brand: #6f39db;
/* SwiftUI */
Color(red: 0.435, green: 0.224, blue: 0.859)
/* Android */
Color.parseColor("#6f39db")Accessibility — WCAG contrast
Aa
#6f39db on white: 6.39:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#6f39db on black: 3.28:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red43.5%
Green22.4%
Blue85.9%
CMYK percentages
Cyan49.3%
Magenta74.0%
Yellow0.0%
Key (black)14.1%
Color previews
#6f39db text on a black background
contrast 3.28:1
Card sample
#6f39db text on a white background
contrast 6.39:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #6f39db;
Background color
Panel with #6f39db background
background-color: #6f39db;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #6f39db;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(111, 57, 219, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(111, 57, 219, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6f39db; background: linear-gradient(135deg, #6f39db, #DB39DB);