#201638
a deep, soft violet · warm · closest name: black
RGB
32, 22, 56
HSL
258°, 44%, 15%
CMYK
43, 61, 0, 78
Luminance
0.0117
Every format
| HEX | #201638 |
| RGB | rgb(32, 22, 56) |
| HSL | hsl(258, 44%, 15%) |
| CMYK | cmyk(43%, 61%, 0%, 78%) |
| LAB | lab(10.3 14.7 -20.5) |
| LCH | lch(10.3 25.2 305.6) |
| OKLCH | oklch(0.233 0.064 294.5) |
Copy-ready code
/* CSS */
color: #201638;
background-color: #201638;
/* Tailwind (arbitrary) */
class="text-[#201638] bg-[#201638]"
/* SCSS */
$brand: #201638;
/* SwiftUI */
Color(red: 0.125, green: 0.086, blue: 0.220)
/* Android */
Color.parseColor("#201638")Accessibility — WCAG contrast
Aa
#201638 on white: 17.03:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#201638 on black: 1.23:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red12.5%
Green8.6%
Blue22.0%
CMYK percentages
Cyan42.9%
Magenta60.7%
Yellow0.0%
Key (black)78.0%
Color previews
#201638 text on a black background
contrast 1.23:1
Card sample
#201638 text on a white background
contrast 17.03:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #201638;
Background color
Panel with #201638 background
background-color: #201638;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #201638;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(32, 22, 56, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(32, 22, 56, 0.45);
Border & gradient
Gradient panel
border: 3px solid #201638; background: linear-gradient(135deg, #201638, #371638);