#190821
a deep, vivid violet · warm · closest name: black
RGB
25, 8, 33
HSL
281°, 61%, 8%
CMYK
24, 76, 0, 87
Luminance
0.0049
Every format
| HEX | #190821 |
| RGB | rgb(25, 8, 33) |
| HSL | hsl(281, 61%, 8%) |
| CMYK | cmyk(24%, 76%, 0%, 87%) |
| LAB | lab(4.4 12.1 -12.7) |
| LCH | lch(4.4 17.5 313.8) |
| OKLCH | oklch(0.176 0.054 313.7) |
Copy-ready code
/* CSS */
color: #190821;
background-color: #190821;
/* Tailwind (arbitrary) */
class="text-[#190821] bg-[#190821]"
/* SCSS */
$brand: #190821;
/* SwiftUI */
Color(red: 0.098, green: 0.031, blue: 0.129)
/* Android */
Color.parseColor("#190821")Accessibility — WCAG contrast
Aa
#190821 on white: 19.13:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#190821 on black: 1.10:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red9.8%
Green3.1%
Blue12.9%
CMYK percentages
Cyan24.2%
Magenta75.8%
Yellow0.0%
Key (black)87.1%
Color previews
#190821 text on a black background
contrast 1.10:1
Card sample
#190821 text on a white background
contrast 19.13:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #190821;
Background color
Panel with #190821 background
background-color: #190821;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #190821;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(25, 8, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(25, 8, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #190821; background: linear-gradient(135deg, #190821, #210818);