#6738bc
a balanced, vivid violet · warm · closest name: slateblue
RGB
103, 56, 188
HSL
261°, 54%, 48%
CMYK
45, 70, 0, 26
Luminance
0.0934
Every format
| HEX | #6738bc |
| RGB | rgb(103, 56, 188) |
| HSL | hsl(261, 54%, 48%) |
| CMYK | cmyk(45%, 70%, 0%, 26%) |
| LAB | lab(36.6 49.7 -62.0) |
| LCH | lch(36.6 79.5 308.7) |
| OKLCH | oklch(0.476 0.194 294.0) |
Copy-ready code
/* CSS */
color: #6738bc;
background-color: #6738bc;
/* Tailwind (arbitrary) */
class="text-[#6738bc] bg-[#6738bc]"
/* SCSS */
$brand: #6738bc;
/* SwiftUI */
Color(red: 0.404, green: 0.220, blue: 0.737)
/* Android */
Color.parseColor("#6738bc")Accessibility — WCAG contrast
Aa
#6738bc on white: 7.32:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#6738bc on black: 2.87:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red40.4%
Green22.0%
Blue73.7%
CMYK percentages
Cyan45.2%
Magenta70.2%
Yellow0.0%
Key (black)26.3%
Color previews
#6738bc text on a black background
contrast 2.87:1
Card sample
#6738bc text on a white background
contrast 7.32:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #6738bc;
Background color
Panel with #6738bc background
background-color: #6738bc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #6738bc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(103, 56, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(103, 56, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6738bc; background: linear-gradient(135deg, #6738bc, #BC38B9);