#392A7E#392A7E
#392A7E is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.6% C 0.135 H 285.4°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).
Color values
| HEX | #392A7E |
|---|---|
| RGB | rgb(57, 42, 126) |
| HSL | hsl(251, 50%, 33%) |
| HSV | hsv(251, 67%, 49%) |
| CMYK | cmyk(54.8%, 66.7%, 0%, 50.6%) |
| CIE-LAB | lab(23.78, 30.69, -45.45) |
| CIE-LCH | lch(23.78, 54.84, 304.03°) |
| OKLab | oklab(35.59% 0.036 -0.1304) |
| OKLCH | oklch(35.59% 0.135 285.4) |
| XYZ | xyz(6.2801, 4.0318, 20.1819) |
| Luminance | 0.0403 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.59
Midnight Blue
#191970
ΔE00 5.72
Royal
#0C1793
ΔE00 7.00
Blueberry
#464196
ΔE00 7.08
Indigo (survey)
#380282
ΔE00 7.54
Indigo
#4B0082
ΔE00 8.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#392A7E #6F7E2A
analogous
#2A457E #392A7E #632A7E
triadic
#392A7E #7E392A #2A7E39
tetradic
#392A7E #7E2A45 #6F7E2A #2A7E63
square
#392A7E #7E2A45 #6F7E2A #2A7E63
split-complementary
#392A7E #7E632A #457E2A
monochromatic
#0F0B22 #241B50 #392A7E #4E39AC #6E5AC8
Accessibility & contrast
On white
11.63
#392A7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#392A7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #392A7E
11.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##392A7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##392A7E | 1.00 | 11.63 | 1.81 | 11.63 |
| #FFFFFF | 11.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#00367C
Tritanopia (blue-blind)
#1D3F50
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #392a7e; /* rgb */ color: rgb(57, 42, 126); /* oklch */ color: oklch(35.6% 0.135 285.4);
Tailwind
colors: {
custom: {
50: '#7664a4',
500: '#392a7e',
950: '#000000',
},
}SCSS
$custom: #392a7e; $custom-light: #7664a4; $custom-dark: #000000;
JSON
{
"hex": "#392a7e",
"rgb": {
"r": 57,
"g": 42,
"b": 126
},
"hsl": {
"h": 250.714,
"s": 50,
"l": 32.941
},
"oklch": {
"l": 0.35594,
"c": 0.13532,
"h": 285.4
},
"luminance": 0.04032
}Semantic roles & 50–950 ramp
primary
#392A7E
secondary
#9EAE56
accent
#DA4EC1
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#09050F
muted
#7B7A7F