#29145c
a deep, vivid violet · warm · closest name: midnightblue
RGB
41, 20, 92
HSL
258°, 64%, 22%
CMYK
55, 78, 0, 64
Luminance
0.0174
Every format
| HEX | #29145c |
| RGB | rgb(41, 20, 92) |
| HSL | hsl(258, 64%, 22%) |
| CMYK | cmyk(55%, 78%, 0%, 64%) |
| LAB | lab(14.1 30.0 -39.3) |
| LCH | lch(14.1 49.4 307.4) |
| OKLCH | oklch(0.273 0.119 289.3) |
Copy-ready code
/* CSS */
color: #29145c;
background-color: #29145c;
/* Tailwind (arbitrary) */
class="text-[#29145c] bg-[#29145c]"
/* SCSS */
$brand: #29145c;
/* SwiftUI */
Color(red: 0.161, green: 0.078, blue: 0.361)
/* Android */
Color.parseColor("#29145c")Accessibility — WCAG contrast
Aa
#29145c on white: 15.57:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#29145c on black: 1.35:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red16.1%
Green7.8%
Blue36.1%
CMYK percentages
Cyan55.4%
Magenta78.3%
Yellow0.0%
Key (black)63.9%
Color previews
#29145c text on a black background
contrast 1.35:1
Card sample
#29145c text on a white background
contrast 15.57:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #29145c;
Background color
Panel with #29145c background
background-color: #29145c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #29145c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(41, 20, 92, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(41, 20, 92, 0.45);
Border & gradient
Gradient panel
border: 3px solid #29145c; background: linear-gradient(135deg, #29145c, #59145C);