#140821
a deep, vivid violet · warm · closest name: black
RGB
20, 8, 33
HSL
269°, 61%, 8%
CMYK
39, 76, 0, 87
Luminance
0.0043
Every format
| HEX | #140821 |
| RGB | rgb(20, 8, 33) |
| HSL | hsl(269, 61%, 8%) |
| CMYK | cmyk(39%, 76%, 0%, 87%) |
| LAB | lab(3.9 9.8 -13.5) |
| LCH | lch(3.9 16.7 305.9) |
| OKLCH | oklch(0.169 0.052 303.6) |
Copy-ready code
/* CSS */
color: #140821;
background-color: #140821;
/* Tailwind (arbitrary) */
class="text-[#140821] bg-[#140821]"
/* SCSS */
$brand: #140821;
/* SwiftUI */
Color(red: 0.078, green: 0.031, blue: 0.129)
/* Android */
Color.parseColor("#140821")Accessibility — WCAG contrast
Aa
#140821 on white: 19.33:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#140821 on black: 1.09:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red7.8%
Green3.1%
Blue12.9%
CMYK percentages
Cyan39.4%
Magenta75.8%
Yellow0.0%
Key (black)87.1%
Color previews
#140821 text on a black background
contrast 1.09:1
Card sample
#140821 text on a white background
contrast 19.33:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #140821;
Background color
Panel with #140821 background
background-color: #140821;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #140821;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(20, 8, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(20, 8, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #140821; background: linear-gradient(135deg, #140821, #21081D);