#382E4A#382E4A
#382E4A is a dark, muted violet. Relative luminance 0.033; OKLCH L 32.5% C 0.050 H 300.0°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).
Color values
| HEX | #382E4A |
|---|---|
| RGB | rgb(56, 46, 74) |
| HSL | hsl(261, 23%, 24%) |
| HSV | hsv(261, 38%, 29%) |
| CMYK | cmyk(24.3%, 37.8%, 0%, 71%) |
| CIE-LAB | lab(21.17, 11.42, -15.69) |
| CIE-LCH | lch(21.17, 19.41, 306.04°) |
| OKLab | oklab(32.49% 0.0251 -0.0434) |
| OKLCH | oklch(32.49% 0.05 300) |
| XYZ | xyz(3.8436, 3.2891, 6.9096) |
| Luminance | 0.0329 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 9.22
Navy (survey)
#01153E
ΔE00 12.11
Eggplant
#380835
ΔE00 12.37
Dark Purple
#35063E
ΔE00 12.41
Dark
#1B2431
ΔE00 12.97
Aubergine
#3D0734
ΔE00 13.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#382E4A #404A2E
analogous
#2E324A #382E4A #462E4A
triadic
#382E4A #4A382E #2E4A38
tetradic
#382E4A #4A2E32 #404A2E #2E4A46
square
#382E4A #4A2E32 #404A2E #2E4A46
split-complementary
#382E4A #4A462E #324A2E
monochromatic
#0E0C13 #1B1724 #382E4A #554570 #715D95
Accessibility & contrast
On white
12.67
#382E4A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#382E4A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #382E4A
12.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##382E4A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##382E4A | 1.00 | 12.67 | 1.66 | 12.67 |
| #FFFFFF | 12.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28334B
Deuteranopia (green-blind)
#293349
Tritanopia (blue-blind)
#353238
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #382e4a; /* rgb */ color: rgb(56, 46, 74); /* oklch */ color: oklch(32.5% 0.050 300.0);
Tailwind
colors: {
custom: {
50: '#6f667c',
500: '#382e4a',
950: '#000000',
},
}SCSS
$custom: #382e4a; $custom-light: #6f667c; $custom-dark: #000000;
JSON
{
"hex": "#382e4a",
"rgb": {
"r": 56,
"g": 46,
"b": 74
},
"hsl": {
"h": 261.429,
"s": 23.333,
"l": 23.529
},
"oklch": {
"l": 0.32489,
"c": 0.05018,
"h": 300
},
"luminance": 0.03289
}Semantic roles & 50–950 ramp
primary
#382E4A
secondary
#6F7B59
accent
#C068A0
background
#F6F6F7
surface
#ECEBEE
border
#C7C6C9
text
#070609
muted
#7A7A7B