#403E4A#403E4A
#403E4A is a dark, muted violet. Relative luminance 0.050; OKLCH L 37.1% C 0.021 H 293.0°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).
Color values
| HEX | #403E4A |
|---|---|
| RGB | rgb(64, 62, 74) |
| HSL | hsl(250, 9%, 27%) |
| HSV | hsv(250, 16%, 29%) |
| CMYK | cmyk(13.5%, 16.2%, 0%, 71%) |
| CIE-LAB | lab(26.82, 3.69, -6.98) |
| CIE-LCH | lch(26.82, 7.89, 297.85°) |
| OKLab | oklab(37.05% 0.008 -0.0189) |
| OKLCH | oklch(37.05% 0.021 293) |
| XYZ | xyz(5.0728, 5.0296, 7.1808) |
| Luminance | 0.0503 (WCAG relative) |
| Temperature | neutral |
| Family | violet |
Closest named colors
Dark Grey
#363737
ΔE00 8.23
Onyx
#353839
ΔE00 8.31
Charcoal Grey
#3C4142
ΔE00 8.68
Charcoal
#36454F
ΔE00 9.65
Charcoal (survey)
#343837
ΔE00 9.77
Gunmetal
#2A3439
ΔE00 10.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#403E4A #484A3E
analogous
#3E424A #403E4A #463E4A
triadic
#403E4A #4A403E #3E4A40
tetradic
#403E4A #4A3E42 #484A3E #3E4A46
square
#403E4A #4A3E42 #484A3E #3E4A46
split-complementary
#403E4A #4A463E #424A3E
monochromatic
#0E0E11 #232229 #403E4A #5D5A6B #7A768C
Accessibility & contrast
On white
10.47
#403E4A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#403E4A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #403E4A
10.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##403E4A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##403E4A | 1.00 | 10.47 | 2.01 | 10.47 |
| #FFFFFF | 10.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C404B
Deuteranopia (green-blind)
#3C3F4A
Tritanopia (blue-blind)
#3E4042
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #403e4a; /* rgb */ color: rgb(64, 62, 74); /* oklch */ color: oklch(37.1% 0.021 293.0);
Tailwind
colors: {
custom: {
50: '#74737c',
500: '#403e4a',
950: '#000000',
},
}SCSS
$custom: #403e4a; $custom-light: #74737c; $custom-dark: #000000;
JSON
{
"hex": "#403e4a",
"rgb": {
"r": 64,
"g": 62,
"b": 74
},
"hsl": {
"h": 250,
"s": 8.824,
"l": 26.667
},
"oklch": {
"l": 0.37051,
"c": 0.0205,
"h": 293
},
"luminance": 0.0503
}Semantic roles & 50–950 ramp
primary
#403E4A
secondary
#77796B
accent
#B276A8
background
#F7F6F7
surface
#EDECEE
border
#C8C7C9
text
#080809
muted
#7B7B7B