#281F32#281F32
#281F32 is a dark, muted violet. Relative luminance 0.017; OKLCH L 25.9% C 0.037 H 305.7°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).
Color values
| HEX | #281F32 |
|---|---|
| RGB | rgb(40, 31, 50) |
| HSL | hsl(268, 23%, 16%) |
| HSV | hsv(268, 38%, 20%) |
| CMYK | cmyk(20%, 38%, 0%, 80.4%) |
| CIE-LAB | lab(13.60, 9.08, -10.91) |
| CIE-LCH | lch(13.60, 14.19, 309.75°) |
| OKLab | oklab(25.87% 0.0215 -0.03) |
| OKLCH | oklch(25.87% 0.037 305.7) |
| XYZ | xyz(1.9407, 1.6614, 3.2354) |
| Luminance | 0.0166 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 10.23
Dark
#1B2431
ΔE00 10.79
Midnight
#03012D
ΔE00 11.28
Navy (survey)
#01153E
ΔE00 11.35
Dark Navy Blue
#00022E
ΔE00 11.64
Eggplant
#380835
ΔE00 11.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#281F32 #29321F
analogous
#1F1F32 #281F32 #311F32
triadic
#281F32 #32281F #1F3228
tetradic
#281F32 #321F1F #29321F #1F3231
square
#281F32 #321F1F #29321F #1F3231
split-complementary
#281F32 #32311F #1F321F
monochromatic
#0F0C13 #0F0C13 #281F32 #463658 #644E7E
Accessibility & contrast
On white
15.76
#281F32 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.33
#281F32 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #281F32
15.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##281F32 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##281F32 | 1.00 | 15.76 | 1.33 | 15.76 |
| #FFFFFF | 15.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B2233
Deuteranopia (green-blind)
#1D2331
Tritanopia (blue-blind)
#272226
Achromatopsia (no color)
#232323
Design tokens & code
CSS
--color: #281f32; /* rgb */ color: rgb(40, 31, 50); /* oklch */ color: oklch(25.9% 0.037 305.7);
Tailwind
colors: {
custom: {
50: '#625a6a',
500: '#281f32',
950: '#000000',
},
}SCSS
$custom: #281f32; $custom-light: #625a6a; $custom-dark: #000000;
JSON
{
"hex": "#281f32",
"rgb": {
"r": 40,
"g": 31,
"b": 50
},
"hsl": {
"h": 268.421,
"s": 23.457,
"l": 15.882
},
"oklch": {
"l": 0.25873,
"c": 0.03696,
"h": 305.7
},
"luminance": 0.01661
}Semantic roles & 50–950 ramp
primary
#281F32
secondary
#576548
accent
#C06896
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050306
muted
#79787A