#4b07cf
a dark, electric violet · warm · closest name: blue
RGB
75, 7, 207
HSL
260°, 94%, 42%
CMYK
64, 97, 0, 19
Luminance
0.0615
Every format
| HEX | #4b07cf |
| RGB | rgb(75, 7, 207) |
| HSL | hsl(260, 94%, 42%) |
| CMYK | cmyk(64%, 97%, 0%, 19%) |
| LAB | lab(29.8 68.2 -84.5) |
| LCH | lch(29.8 108.6 308.9) |
| OKLCH | oklch(0.427 0.250 282.7) |
Copy-ready code
/* CSS */
color: #4b07cf;
background-color: #4b07cf;
/* Tailwind (arbitrary) */
class="text-[#4b07cf] bg-[#4b07cf]"
/* SCSS */
$brand: #4b07cf;
/* SwiftUI */
Color(red: 0.294, green: 0.027, blue: 0.812)
/* Android */
Color.parseColor("#4b07cf")Accessibility — WCAG contrast
Aa
#4b07cf on white: 9.41:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#4b07cf on black: 2.23:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red29.4%
Green2.7%
Blue81.2%
CMYK percentages
Cyan63.8%
Magenta96.6%
Yellow0.0%
Key (black)18.8%
Color previews
#4b07cf text on a black background
contrast 2.23:1
Card sample
#4b07cf text on a white background
contrast 9.41:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #4b07cf;
Background color
Panel with #4b07cf background
background-color: #4b07cf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #4b07cf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(75, 7, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(75, 7, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4b07cf; background: linear-gradient(135deg, #4b07cf, #CF07CE);