#392286#392286
#392286 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.156 H 285.7°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).
Color values
| HEX | #392286 |
|---|---|
| RGB | rgb(57, 34, 134) |
| HSL | hsl(254, 60%, 33%) |
| HSV | hsv(254, 75%, 53%) |
| CMYK | cmyk(57.5%, 74.6%, 0%, 47.5%) |
| CIE-LAB | lab(22.77, 37.98, -52.13) |
| CIE-LCH | lch(22.77, 64.49, 306.07°) |
| OKLab | oklab(35.1% 0.0422 -0.15) |
| OKLCH | oklch(35.1% 0.156 285.7) |
| XYZ | xyz(6.5611, 3.7348, 22.9248) |
| Luminance | 0.0374 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 5.05
Indigo (survey)
#380282
ΔE00 5.15
Midnight Blue
#191970
ΔE00 5.39
Indigo
#4B0082
ΔE00 6.00
Indigo Blue
#3A18B1
ΔE00 6.36
Cobalt Blue
#030AA7
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#392286 #6F8622
analogous
#223D86 #392286 #6B2286
triadic
#392286 #863922 #228639
tetradic
#392286 #86223D #6F8622 #22866B
square
#392286 #86223D #6F8622 #22866B
split-complementary
#392286 #866B22 #3D8622
monochromatic
#0F0924 #241655 #392286 #4E2EB7 #6E50D3
Accessibility & contrast
On white
12.02
#392286 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#392286 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #392286
12.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##392286 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##392286 | 1.00 | 12.02 | 1.75 | 12.02 |
| #FFFFFF | 12.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003989
Deuteranopia (green-blind)
#003384
Tritanopia (blue-blind)
#153D52
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #392286; /* rgb */ color: rgb(57, 34, 134); /* oklch */ color: oklch(35.1% 0.156 285.7);
Tailwind
colors: {
custom: {
50: '#7960aa',
500: '#392286',
950: '#000000',
},
}SCSS
$custom: #392286; $custom-light: #7960aa; $custom-dark: #000000;
JSON
{
"hex": "#392286",
"rgb": {
"r": 57,
"g": 34,
"b": 134
},
"hsl": {
"h": 253.8,
"s": 59.524,
"l": 32.941
},
"oklch": {
"l": 0.35099,
"c": 0.15584,
"h": 285.7
},
"luminance": 0.03735
}Semantic roles & 50–950 ramp
primary
#392286
secondary
#9EB64E
accent
#E345BE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F