#58467b
a dark, soft violet · warm · closest name: midnightblue
RGB
88, 70, 123
HSL
260°, 28%, 38%
CMYK
29, 43, 0, 52
Luminance
0.0789
Every format
| HEX | #58467b |
| RGB | rgb(88, 70, 123) |
| HSL | hsl(260, 28%, 38%) |
| CMYK | cmyk(29%, 43%, 0%, 52%) |
| LAB | lab(33.7 20.0 -27.4) |
| LCH | lch(33.7 33.9 306.0) |
| OKLCH | oklch(0.437 0.087 298.4) |
Copy-ready code
/* CSS */
color: #58467b;
background-color: #58467b;
/* Tailwind (arbitrary) */
class="text-[#58467b] bg-[#58467b]"
/* SCSS */
$brand: #58467b;
/* SwiftUI */
Color(red: 0.345, green: 0.275, blue: 0.482)
/* Android */
Color.parseColor("#58467b")Accessibility — WCAG contrast
Aa
#58467b on white: 8.15:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#58467b on black: 2.58:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red34.5%
Green27.5%
Blue48.2%
CMYK percentages
Cyan28.5%
Magenta43.1%
Yellow0.0%
Key (black)51.8%
Color previews
#58467b text on a black background
contrast 2.58:1
Card sample
#58467b text on a white background
contrast 8.15:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #58467b;
Background color
Panel with #58467b background
background-color: #58467b;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #58467b;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(88, 70, 123, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(88, 70, 123, 0.45);
Border & gradient
Gradient panel
border: 3px solid #58467b; background: linear-gradient(135deg, #58467b, #7B467B);