#200049
a deep, electric violet · warm · closest name: midnightblue
RGB
32, 0, 73
HSL
266°, 100%, 14%
CMYK
56, 100, 0, 71
Luminance
0.0079
Every format
| HEX | #200049 |
| RGB | rgb(32, 0, 73) |
| HSL | hsl(266, 100%, 14%) |
| CMYK | cmyk(56%, 100%, 0%, 71%) |
| LAB | lab(7.1 33.6 -37.7) |
| LCH | lch(7.1 50.5 311.7) |
| OKLCH | oklch(0.215 0.119 294.0) |
Copy-ready code
/* CSS */
color: #200049;
background-color: #200049;
/* Tailwind (arbitrary) */
class="text-[#200049] bg-[#200049]"
/* SCSS */
$brand: #200049;
/* SwiftUI */
Color(red: 0.125, green: 0.000, blue: 0.286)
/* Android */
Color.parseColor("#200049")Accessibility — WCAG contrast
Aa
#200049 on white: 18.14:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#200049 on black: 1.16:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red12.5%
Green0.0%
Blue28.6%
CMYK percentages
Cyan56.2%
Magenta100.0%
Yellow0.0%
Key (black)71.4%
Color previews
#200049 text on a black background
contrast 1.16:1
Card sample
#200049 text on a white background
contrast 18.14:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #200049;
Background color
Panel with #200049 background
background-color: #200049;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #200049;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(32, 0, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(32, 0, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #200049; background: linear-gradient(135deg, #200049, #490041);