#281F29#281F29
#281F29 is a dark, muted purple. Relative luminance 0.016; OKLCH L 25.4% C 0.023 H 323.0°. Best body text is #FFFFFF at 15.93:1 contrast (WCAG AA passes).
Color values
| HEX | #281F29 |
|---|---|
| RGB | rgb(40, 31, 41) |
| HSL | hsl(294, 14%, 14%) |
| HSV | hsv(294, 24%, 16%) |
| CMYK | cmyk(2.4%, 24.4%, 0%, 83.9%) |
| CIE-LAB | lab(13.18, 6.65, -5.07) |
| CIE-LCH | lch(13.18, 8.36, 322.65°) |
| OKLab | oklab(25.41% 0.0181 -0.0136) |
| OKLCH | oklch(25.41% 0.023 323) |
| XYZ | xyz(1.7652, 1.5912, 2.3115) |
| Luminance | 0.0159 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Dark
#1B2431
ΔE00 9.95
Very Dark Brown
#1D0200
ΔE00 10.24
Dark Grey
#363737
ΔE00 11.62
Black
#000000
ΔE00 11.99
Onyx
#353839
ΔE00 12.39
Navy Blue
#1B2A4A
ΔE00 12.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#281F29 #20291F
analogous
#231F29 #281F29 #291F25
triadic
#281F29 #29281F #1F2928
tetradic
#281F29 #29231F #20291F #1F2529
square
#281F29 #29231F #20291F #1F2529
split-complementary
#281F29 #25291F #1F2923
monochromatic
#110D11 #110D11 #281F29 #4A394C #6C546F
Accessibility & contrast
On white
15.93
#281F29 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.32
#281F29 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #281F29
15.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##281F29 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##281F29 | 1.00 | 15.93 | 1.32 | 15.93 |
| #FFFFFF | 15.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E2129
Deuteranopia (green-blind)
#202229
Tritanopia (blue-blind)
#282022
Achromatopsia (no color)
#222222
Design tokens & code
CSS
--color: #281f29; /* rgb */ color: rgb(40, 31, 41); /* oklch */ color: oklch(25.4% 0.023 323.0);
Tailwind
colors: {
custom: {
50: '#625a62',
500: '#281f29',
950: '#000000',
},
}SCSS
$custom: #281f29; $custom-light: #625a62; $custom-dark: #000000;
JSON
{
"hex": "#281f29",
"rgb": {
"r": 40,
"g": 31,
"b": 41
},
"hsl": {
"h": 294,
"s": 13.889,
"l": 14.118
},
"oklch": {
"l": 0.25409,
"c": 0.02265,
"h": 323
},
"luminance": 0.01591
}Semantic roles & 50–950 ramp
primary
#281F29
secondary
#4C5A4A
accent
#B77178
background
#F5F5F5
surface
#EAE9EA
border
#C6C5C6
text
#050305
muted
#797879