#910ab2
a dark, electric violet · warm · closest name: purple
RGB
145, 10, 178
HSL
288°, 89%, 37%
CMYK
19, 94, 0, 30
Luminance
0.0945
Every format
| HEX | #910ab2 |
| RGB | rgb(145, 10, 178) |
| HSL | hsl(288, 89%, 37%) |
| CMYK | cmyk(19%, 94%, 0%, 30%) |
| LAB | lab(36.8 68.7 -55.5) |
| LCH | lch(36.8 88.3 321.1) |
| OKLCH | oklch(0.487 0.232 317.4) |
Copy-ready code
/* CSS */
color: #910ab2;
background-color: #910ab2;
/* Tailwind (arbitrary) */
class="text-[#910ab2] bg-[#910ab2]"
/* SCSS */
$brand: #910ab2;
/* SwiftUI */
Color(red: 0.569, green: 0.039, blue: 0.698)
/* Android */
Color.parseColor("#910ab2")Accessibility — WCAG contrast
Aa
#910ab2 on white: 7.27:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#910ab2 on black: 2.89:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red56.9%
Green3.9%
Blue69.8%
CMYK percentages
Cyan18.5%
Magenta94.4%
Yellow0.0%
Key (black)30.2%
Color previews
#910ab2 text on a black background
contrast 2.89:1
Card sample
#910ab2 text on a white background
contrast 7.27:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #910ab2;
Background color
Panel with #910ab2 background
background-color: #910ab2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #910ab2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(145, 10, 178, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(145, 10, 178, 0.45);
Border & gradient
Gradient panel
border: 3px solid #910ab2; background: linear-gradient(135deg, #910ab2, #B20A63);