#382C42#382C42
#382C42 is a dark, muted violet. Relative luminance 0.030; OKLCH L 31.6% C 0.042 H 309.0°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).
Color values
| HEX | #382C42 |
|---|---|
| RGB | rgb(56, 44, 66) |
| HSL | hsl(273, 20%, 22%) |
| HSV | hsv(273, 33%, 26%) |
| CMYK | cmyk(15.2%, 33.3%, 0%, 74.1%) |
| CIE-LAB | lab(20.19, 10.61, -11.78) |
| CIE-LCH | lch(20.19, 15.86, 312.00°) |
| OKLab | oklab(31.61% 0.0261 -0.0323) |
| OKLCH | oklch(31.61% 0.042 309) |
| XYZ | xyz(3.5148, 3.0355, 5.5539) |
| Luminance | 0.0303 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 10.64
Eggplant
#380835
ΔE00 12.14
Aubergine
#3D0734
ΔE00 12.62
Dark
#1B2431
ΔE00 12.75
Dark Purple
#35063E
ΔE00 12.83
Eggplant Purple
#430541
ΔE00 13.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#382C42 #36422C
analogous
#2D2C42 #382C42 #422C41
triadic
#382C42 #42382C #2C4238
tetradic
#382C42 #422D2C #36422C #2C4142
square
#382C42 #422D2C #36422C #2C4142
split-complementary
#382C42 #41422C #2C422D
monochromatic
#100C12 #19141D #382C42 #574467 #765D8B
Accessibility & contrast
On white
13.07
#382C42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#382C42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #382C42
13.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##382C42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##382C42 | 1.00 | 13.07 | 1.61 | 13.07 |
| #FFFFFF | 13.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#283043
Deuteranopia (green-blind)
#2B3141
Tritanopia (blue-blind)
#372F34
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #382c42; /* rgb */ color: rgb(56, 44, 66); /* oklch */ color: oklch(31.6% 0.042 309.0);
Tailwind
colors: {
custom: {
50: '#6f6576',
500: '#382c42',
950: '#000000',
},
}SCSS
$custom: #382c42; $custom-light: #6f6576; $custom-dark: #000000;
JSON
{
"hex": "#382c42",
"rgb": {
"r": 56,
"g": 44,
"b": 66
},
"hsl": {
"h": 272.727,
"s": 20,
"l": 21.569
},
"oklch": {
"l": 0.3161,
"c": 0.04154,
"h": 309
},
"luminance": 0.03035
}Semantic roles & 50–950 ramp
primary
#382C42
secondary
#647357
accent
#BD6B90
background
#F6F6F7
surface
#ECEBED
border
#C7C6C8
text
#070508
muted
#7A7A7B