#392873#392873
#392873 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.3% C 0.123 H 288.6°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).
Color values
| HEX | #392873 |
|---|---|
| RGB | rgb(57, 40, 115) |
| HSL | hsl(254, 48%, 30%) |
| HSV | hsv(254, 65%, 45%) |
| CMYK | cmyk(50.4%, 65.2%, 0%, 54.9%) |
| CIE-LAB | lab(22.39, 28.38, -40.70) |
| CIE-LCH | lch(22.39, 49.62, 304.89°) |
| OKLab | oklab(34.3% 0.0393 -0.1165) |
| OKLCH | oklch(34.3% 0.123 288.6) |
| XYZ | xyz(5.5398, 3.6250, 16.6241) |
| Luminance | 0.0362 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 5.63
Darkslateblue
#483D8B
ΔE00 6.57
Indigo (survey)
#380282
ΔE00 7.86
Indigo
#4B0082
ΔE00 8.24
Royal
#0C1793
ΔE00 8.24
Blueberry
#464196
ΔE00 8.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#392873 #627328
analogous
#283C73 #392873 #5E2873
triadic
#392873 #733928 #287339
tetradic
#392873 #73283C #627328 #28735E
square
#392873 #73283C #627328 #28735E
split-complementary
#392873 #735E28 #3C7328
monochromatic
#0C0818 #221846 #392873 #5038A0 #6C52C3
Accessibility & contrast
On white
12.17
#392873 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#392873 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #392873
12.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##392873 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##392873 | 1.00 | 12.17 | 1.73 | 12.17 |
| #FFFFFF | 12.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003775
Deuteranopia (green-blind)
#003471
Tritanopia (blue-blind)
#263A49
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #392873; /* rgb */ color: rgb(57, 40, 115); /* oklch */ color: oklch(34.3% 0.123 288.6);
Tailwind
colors: {
custom: {
50: '#75639c',
500: '#392873',
950: '#000000',
},
}SCSS
$custom: #392873; $custom-light: #75639c; $custom-dark: #000000;
JSON
{
"hex": "#392873",
"rgb": {
"r": 57,
"g": 40,
"b": 115
},
"hsl": {
"h": 253.6,
"s": 48.387,
"l": 30.392
},
"oklch": {
"l": 0.343,
"c": 0.12293,
"h": 288.6
},
"luminance": 0.03625
}Semantic roles & 50–950 ramp
primary
#392873
secondary
#92A552
accent
#D850B9
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050E
muted
#7B797E