#140721
a deep, vivid violet · warm · closest name: black
RGB
20, 7, 33
HSL
270°, 65%, 8%
CMYK
39, 79, 0, 87
Luminance
0.0041
Every format
| HEX | #140721 |
| RGB | rgb(20, 7, 33) |
| HSL | hsl(270, 65%, 8%) |
| CMYK | cmyk(39%, 79%, 0%, 87%) |
| LAB | lab(3.7 10.2 -13.8) |
| LCH | lch(3.7 17.1 306.4) |
| OKLCH | oklch(0.166 0.054 304.5) |
Copy-ready code
/* CSS */
color: #140721;
background-color: #140721;
/* Tailwind (arbitrary) */
class="text-[#140721] bg-[#140721]"
/* SCSS */
$brand: #140721;
/* SwiftUI */
Color(red: 0.078, green: 0.027, blue: 0.129)
/* Android */
Color.parseColor("#140721")Accessibility — WCAG contrast
Aa
#140721 on white: 19.41:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#140721 on black: 1.08:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red7.8%
Green2.7%
Blue12.9%
CMYK percentages
Cyan39.4%
Magenta78.8%
Yellow0.0%
Key (black)87.1%
Color previews
#140721 text on a black background
contrast 1.08:1
Card sample
#140721 text on a white background
contrast 19.41:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #140721;
Background color
Panel with #140721 background
background-color: #140721;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #140721;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(20, 7, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(20, 7, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #140721; background: linear-gradient(135deg, #140721, #21071D);