#281F33#281F33
#281F33 is a dark, muted violet. Relative luminance 0.017; OKLCH L 25.9% C 0.039 H 304.5°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).
Color values
| HEX | #281F33 |
|---|---|
| RGB | rgb(40, 31, 51) |
| HSL | hsl(267, 24%, 16%) |
| HSV | hsv(267, 39%, 20%) |
| CMYK | cmyk(21.6%, 39.2%, 0%, 80%) |
| CIE-LAB | lab(13.65, 9.36, -11.55) |
| CIE-LCH | lch(13.65, 14.87, 309.04°) |
| OKLab | oklab(25.93% 0.0219 -0.0319) |
| OKLCH | oklch(25.93% 0.039 304.5) |
| XYZ | xyz(1.9625, 1.6701, 3.3503) |
| Luminance | 0.0167 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 10.04
Dark
#1B2431
ΔE00 10.94
Midnight
#03012D
ΔE00 11.00
Navy (survey)
#01153E
ΔE00 11.04
Dark Navy Blue
#00022E
ΔE00 11.38
Eggplant
#380835
ΔE00 11.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#281F33 #2A331F
analogous
#1F2033 #281F33 #321F33
triadic
#281F33 #33281F #1F3328
tetradic
#281F33 #331F20 #2A331F #1F3332
square
#281F33 #331F20 #2A331F #1F3332
split-complementary
#281F33 #33321F #20331F
monochromatic
#0F0C13 #0F0C13 #281F33 #463659 #644D7F
Accessibility & contrast
On white
15.74
#281F33 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.33
#281F33 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #281F33
15.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##281F33 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##281F33 | 1.00 | 15.74 | 1.33 | 15.74 |
| #FFFFFF | 15.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B2334
Deuteranopia (green-blind)
#1D2332
Tritanopia (blue-blind)
#262226
Achromatopsia (no color)
#232323
Design tokens & code
CSS
--color: #281f33; /* rgb */ color: rgb(40, 31, 51); /* oklch */ color: oklch(25.9% 0.039 304.5);
Tailwind
colors: {
custom: {
50: '#625a6a',
500: '#281f33',
950: '#000000',
},
}SCSS
$custom: #281f33; $custom-light: #625a6a; $custom-dark: #000000;
JSON
{
"hex": "#281f33",
"rgb": {
"r": 40,
"g": 31,
"b": 51
},
"hsl": {
"h": 267,
"s": 24.39,
"l": 16.078
},
"oklch": {
"l": 0.2593,
"c": 0.03864,
"h": 304.5
},
"luminance": 0.0167
}Semantic roles & 50–950 ramp
primary
#281F33
secondary
#586648
accent
#C16798
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050306
muted
#79787A