#200c3b
a deep, vivid violet · warm · closest name: midnightblue
RGB
32, 12, 59
HSL
266°, 66%, 14%
CMYK
46, 80, 0, 77
Luminance
0.0089
Every format
| HEX | #200c3b |
| RGB | rgb(32, 12, 59) |
| HSL | hsl(266, 66%, 14%) |
| CMYK | cmyk(46%, 80%, 0%, 77%) |
| LAB | lab(8.0 22.4 -26.3) |
| LCH | lch(8.0 34.6 310.4) |
| OKLCH | oklch(0.217 0.086 298.4) |
Copy-ready code
/* CSS */
color: #200c3b;
background-color: #200c3b;
/* Tailwind (arbitrary) */
class="text-[#200c3b] bg-[#200c3b]"
/* SCSS */
$brand: #200c3b;
/* SwiftUI */
Color(red: 0.125, green: 0.047, blue: 0.231)
/* Android */
Color.parseColor("#200c3b")Accessibility — WCAG contrast
Aa
#200c3b on white: 17.84:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#200c3b on black: 1.18:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red12.5%
Green4.7%
Blue23.1%
CMYK percentages
Cyan45.8%
Magenta79.7%
Yellow0.0%
Key (black)76.9%
Color previews
#200c3b text on a black background
contrast 1.18:1
Card sample
#200c3b text on a white background
contrast 17.84:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #200c3b;
Background color
Panel with #200c3b background
background-color: #200c3b;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #200c3b;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(32, 12, 59, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(32, 12, 59, 0.45);
Border & gradient
Gradient panel
border: 3px solid #200c3b; background: linear-gradient(135deg, #200c3b, #3B0C37);