#281D2F#281D2F
#281D2F is a dark, muted violet. Relative luminance 0.015; OKLCH L 25.2% C 0.037 H 311.7°. Best body text is #FFFFFF at 16.07:1 contrast (WCAG AA passes).
Color values
| HEX | #281D2F |
|---|---|
| RGB | rgb(40, 29, 47) |
| HSL | hsl(277, 24%, 15%) |
| HSV | hsv(277, 38%, 18%) |
| CMYK | cmyk(14.9%, 38.3%, 0%, 81.6%) |
| CIE-LAB | lab(12.83, 9.68, -9.94) |
| CIE-LCH | lch(12.83, 13.88, 314.23°) |
| OKLab | oklab(25.24% 0.0243 -0.0273) |
| OKLCH | oklch(25.24% 0.037 311.7) |
| XYZ | xyz(1.8274, 1.5351, 2.8888) |
| Luminance | 0.0154 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 11.31
Eggplant
#380835
ΔE00 11.35
Midnight
#03012D
ΔE00 11.58
Dark
#1B2431
ΔE00 11.60
Navy (survey)
#01153E
ΔE00 11.98
Aubergine
#3D0734
ΔE00 12.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#281D2F #242F1D
analogous
#1F1D2F #281D2F #2F1D2D
triadic
#281D2F #2F281D #1D2F28
tetradic
#281D2F #2F1F1D #242F1D #1D2D2F
square
#281D2F #2F1F1D #242F1D #1D2D2F
split-complementary
#281D2F #2D2F1D #1D2F1F
monochromatic
#100C13 #100C13 #281D2F #483455 #684C7B
Accessibility & contrast
On white
16.07
#281D2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.31
#281D2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #281D2F
16.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##281D2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##281D2F | 1.00 | 16.07 | 1.31 | 16.07 |
| #FFFFFF | 16.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A2130
Deuteranopia (green-blind)
#1C212E
Tritanopia (blue-blind)
#271F24
Achromatopsia (no color)
#212121
Design tokens & code
CSS
--color: #281d2f; /* rgb */ color: rgb(40, 29, 47); /* oklch */ color: oklch(25.2% 0.037 311.7);
Tailwind
colors: {
custom: {
50: '#625967',
500: '#281d2f',
950: '#000000',
},
}SCSS
$custom: #281d2f; $custom-light: #625967; $custom-dark: #000000;
JSON
{
"hex": "#281d2f",
"rgb": {
"r": 40,
"g": 29,
"b": 47
},
"hsl": {
"h": 276.667,
"s": 23.684,
"l": 14.902
},
"oklch": {
"l": 0.25235,
"c": 0.03654,
"h": 311.7
},
"luminance": 0.01535
}Semantic roles & 50–950 ramp
primary
#281D2F
secondary
#516246
accent
#C0688A
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050306
muted
#79787A