#392881#392881
#392881 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.5% C 0.142 H 285.4°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).
Color values
| HEX | #392881 |
|---|---|
| RGB | rgb(57, 40, 129) |
| HSL | hsl(251, 53%, 33%) |
| HSV | hsv(251, 69%, 51%) |
| CMYK | cmyk(55.8%, 69%, 0%, 49.4%) |
| CIE-LAB | lab(23.58, 32.89, -47.67) |
| CIE-LCH | lch(23.58, 57.92, 304.61°) |
| OKLab | oklab(35.53% 0.0376 -0.1369) |
| OKLCH | oklch(35.53% 0.142 285.4) |
| XYZ | xyz(6.4074, 3.9721, 21.1937) |
| Luminance | 0.0397 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 5.53
Darkslateblue
#483D8B
ΔE00 6.03
Royal
#0C1793
ΔE00 6.31
Indigo (survey)
#380282
ΔE00 6.82
Blueberry
#464196
ΔE00 7.37
Indigo
#4B0082
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#392881 #708128
analogous
#284381 #392881 #652881
triadic
#392881 #813928 #288139
tetradic
#392881 #812843 #708128 #288165
square
#392881 #812843 #708128 #288165
split-complementary
#392881 #816528 #438128
monochromatic
#100B24 #241A52 #392881 #4E36B0 #6E58CB
Accessibility & contrast
On white
11.70
#392881 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#392881 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #392881
11.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##392881 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##392881 | 1.00 | 11.70 | 1.79 | 11.70 |
| #FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B84
Deuteranopia (green-blind)
#00357F
Tritanopia (blue-blind)
#1A3F51
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #392881; /* rgb */ color: rgb(57, 40, 129); /* oklch */ color: oklch(35.5% 0.142 285.4);
Tailwind
colors: {
custom: {
50: '#7763a6',
500: '#392881',
950: '#000000',
},
}SCSS
$custom: #392881; $custom-light: #7763a6; $custom-dark: #000000;
JSON
{
"hex": "#392881",
"rgb": {
"r": 57,
"g": 40,
"b": 129
},
"hsl": {
"h": 251.461,
"s": 52.663,
"l": 33.137
},
"oklch": {
"l": 0.35532,
"c": 0.14203,
"h": 285.4
},
"luminance": 0.03972
}Semantic roles & 50–950 ramp
primary
#392881
secondary
#9FB054
accent
#DC4CC1
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#09050F
muted
#7B797F