#910ccf
a dark, electric violet · warm · closest name: indigo
RGB
145, 12, 207
HSL
281°, 89%, 43%
CMYK
30, 94, 0, 19
Luminance
0.1079
Every format
| HEX | #910ccf |
| RGB | rgb(145, 12, 207) |
| HSL | hsl(281, 89%, 43%) |
| CMYK | cmyk(30%, 94%, 0%, 19%) |
| LAB | lab(39.2 73.9 -68.7) |
| LCH | lch(39.2 100.8 317.1) |
| OKLCH | oklch(0.510 0.253 309.5) |
Copy-ready code
/* CSS */
color: #910ccf;
background-color: #910ccf;
/* Tailwind (arbitrary) */
class="text-[#910ccf] bg-[#910ccf]"
/* SCSS */
$brand: #910ccf;
/* SwiftUI */
Color(red: 0.569, green: 0.047, blue: 0.812)
/* Android */
Color.parseColor("#910ccf")Accessibility — WCAG contrast
Aa
#910ccf on white: 6.65:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#910ccf on black: 3.16:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red56.9%
Green4.7%
Blue81.2%
CMYK percentages
Cyan30.0%
Magenta94.2%
Yellow0.0%
Key (black)18.8%
Color previews
#910ccf text on a black background
contrast 3.16:1
Card sample
#910ccf text on a white background
contrast 6.65:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #910ccf;
Background color
Panel with #910ccf background
background-color: #910ccf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #910ccf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(145, 12, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(145, 12, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #910ccf; background: linear-gradient(135deg, #910ccf, #CF0C8B);