#371E85#371E85
#371E85 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.159 H 285.5°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).
Color values
| HEX | #371E85 |
|---|---|
| RGB | rgb(55, 30, 133) |
| HSL | hsl(255, 63%, 32%) |
| HSV | hsv(255, 77%, 52%) |
| CMYK | cmyk(58.6%, 77.4%, 0%, 47.8%) |
| CIE-LAB | lab(21.70, 39.54, -53.27) |
| CIE-LCH | lch(21.70, 66.34, 306.58°) |
| OKLab | oklab(34.26% 0.0426 -0.1534) |
| OKLCH | oklch(34.26% 0.159 285.5) |
| XYZ | xyz(6.2722, 3.4339, 22.5180) |
| Luminance | 0.0343 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.28
Royal
#0C1793
ΔE00 4.59
Midnight Blue
#191970
ΔE00 5.01
Indigo
#4B0082
ΔE00 5.43
Indigo Blue
#3A18B1
ΔE00 6.31
Darkblue
#00008B
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#371E85 #6C851E
analogous
#1E3985 #371E85 #6B1E85
triadic
#371E85 #85371E #1E8537
tetradic
#371E85 #851E39 #6C851E #1E856B
square
#371E85 #851E39 #6C851E #1E856B
split-complementary
#371E85 #856B1E #39851E
monochromatic
#0E0721 #221353 #371E85 #4C29B7 #6A48D6
Accessibility & contrast
On white
12.45
#371E85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#371E85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #371E85
12.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##371E85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##371E85 | 1.00 | 12.45 | 1.69 | 12.45 |
| #FFFFFF | 12.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#003183
Tritanopia (blue-blind)
#103B50
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #371e85; /* rgb */ color: rgb(55, 30, 133); /* oklch */ color: oklch(34.3% 0.159 285.5);
Tailwind
colors: {
custom: {
50: '#785daa',
500: '#371e85',
950: '#000000',
},
}SCSS
$custom: #371e85; $custom-light: #785daa; $custom-dark: #000000;
JSON
{
"hex": "#371e85",
"rgb": {
"r": 55,
"g": 30,
"b": 133
},
"hsl": {
"h": 254.563,
"s": 63.19,
"l": 31.961
},
"oklch": {
"l": 0.34264,
"c": 0.15919,
"h": 285.5
},
"luminance": 0.03434
}Semantic roles & 50–950 ramp
primary
#371E85
secondary
#9CB847
accent
#E642BE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F