#7058b8
a balanced, soft violet · warm · closest name: slateblue
RGB
112, 88, 184
HSL
255°, 40%, 53%
CMYK
39, 52, 0, 28
Luminance
0.1388
Every format
| HEX | #7058b8 |
| RGB | rgb(112, 88, 184) |
| HSL | hsl(255, 40%, 53%) |
| CMYK | cmyk(39%, 52%, 0%, 28%) |
| LAB | lab(44.1 32.5 -47.6) |
| LCH | lch(44.1 57.7 304.3) |
| OKLCH | oklch(0.531 0.146 292.2) |
Copy-ready code
/* CSS */
color: #7058b8;
background-color: #7058b8;
/* Tailwind (arbitrary) */
class="text-[#7058b8] bg-[#7058b8]"
/* SCSS */
$brand: #7058b8;
/* SwiftUI */
Color(red: 0.439, green: 0.345, blue: 0.722)
/* Android */
Color.parseColor("#7058b8")Accessibility — WCAG contrast
Aa
#7058b8 on white: 5.56:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#7058b8 on black: 3.78:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red43.9%
Green34.5%
Blue72.2%
CMYK percentages
Cyan39.1%
Magenta52.2%
Yellow0.0%
Key (black)27.8%
Color previews
#7058b8 text on a black background
contrast 3.78:1
Card sample
#7058b8 text on a white background
contrast 5.56:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #7058b8;
Background color
Panel with #7058b8 background
background-color: #7058b8;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #7058b8;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(112, 88, 184, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(112, 88, 184, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7058b8; background: linear-gradient(135deg, #7058b8, #B058B8);