#581ace
a balanced, electric violet · warm · closest name: navy
RGB
88, 26, 206
HSL
261°, 78%, 46%
CMYK
57, 87, 0, 19
Luminance
0.0727
Every format
| HEX | #581ace |
| RGB | rgb(88, 26, 206) |
| HSL | hsl(261, 78%, 46%) |
| CMYK | cmyk(57%, 87%, 0%, 19%) |
| LAB | lab(32.4 64.7 -79.5) |
| LCH | lch(32.4 102.5 309.1) |
| OKLCH | oklch(0.448 0.240 287.3) |
Copy-ready code
/* CSS */
color: #581ace;
background-color: #581ace;
/* Tailwind (arbitrary) */
class="text-[#581ace] bg-[#581ace]"
/* SCSS */
$brand: #581ace;
/* SwiftUI */
Color(red: 0.345, green: 0.102, blue: 0.808)
/* Android */
Color.parseColor("#581ace")Accessibility — WCAG contrast
Aa
#581ace on white: 8.56:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#581ace on black: 2.45:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red34.5%
Green10.2%
Blue80.8%
CMYK percentages
Cyan57.3%
Magenta87.4%
Yellow0.0%
Key (black)19.2%
Color previews
#581ace text on a black background
contrast 2.45:1
Card sample
#581ace text on a white background
contrast 8.56:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #581ace;
Background color
Panel with #581ace background
background-color: #581ace;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #581ace;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(88, 26, 206, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(88, 26, 206, 0.45);
Border & gradient
Gradient panel
border: 3px solid #581ace; background: linear-gradient(135deg, #581ace, #CE1ACC);