#392182#392182
#392182 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.6% C 0.152 H 286.8°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).
Color values
| HEX | #392182 |
|---|---|
| RGB | rgb(57, 33, 130) |
| HSL | hsl(255, 60%, 32%) |
| HSV | hsv(255, 75%, 51%) |
| CMYK | cmyk(56.2%, 74.6%, 0%, 49%) |
| CIE-LAB | lab(22.19, 37.29, -50.57) |
| CIE-LCH | lch(22.19, 62.83, 306.41°) |
| OKLab | oklab(34.57% 0.044 -0.1454) |
| OKLCH | oklch(34.57% 0.152 286.8) |
| XYZ | xyz(6.2593, 3.5689, 21.4738) |
| Luminance | 0.0357 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.96
Midnight Blue
#191970
ΔE00 5.07
Royal
#0C1793
ΔE00 5.35
Indigo
#4B0082
ΔE00 5.78
Indigo Blue
#3A18B1
ΔE00 6.93
Darkblue
#00008B
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#392182 #6A8221
analogous
#213A82 #392182 #6A2182
triadic
#392182 #823921 #218239
tetradic
#392182 #82213A #6A8221 #21826A
square
#392182 #82213A #6A8221 #21826A
split-complementary
#392182 #826A21 #3A8221
monochromatic
#0E0820 #241551 #392182 #4E2DB3 #6D4CD2
Accessibility & contrast
On white
12.25
#392182 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#392182 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #392182
12.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##392182 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##392182 | 1.00 | 12.25 | 1.71 | 12.25 |
| #FFFFFF | 12.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003785
Deuteranopia (green-blind)
#003280
Tritanopia (blue-blind)
#1A3B4F
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #392182; /* rgb */ color: rgb(57, 33, 130); /* oklch */ color: oklch(34.6% 0.152 286.8);
Tailwind
colors: {
custom: {
50: '#785fa7',
500: '#392182',
950: '#000000',
},
}SCSS
$custom: #392182; $custom-light: #785fa7; $custom-dark: #000000;
JSON
{
"hex": "#392182",
"rgb": {
"r": 57,
"g": 33,
"b": 130
},
"hsl": {
"h": 254.845,
"s": 59.509,
"l": 31.961
},
"oklch": {
"l": 0.34569,
"c": 0.15195,
"h": 286.8
},
"luminance": 0.03569
}Semantic roles & 50–950 ramp
primary
#392182
secondary
#9AB44A
accent
#E345BC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F