#371E8E#371E8E
#371E8E is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.170 H 283.6°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).
Color values
| HEX | #371E8E |
|---|---|
| RGB | rgb(55, 30, 142) |
| HSL | hsl(253, 65%, 34%) |
| HSV | hsv(253, 79%, 56%) |
| CMYK | cmyk(61.3%, 78.9%, 0%, 44.3%) |
| CIE-LAB | lab(22.63, 42.28, -57.37) |
| CIE-LCH | lch(22.63, 71.27, 306.39°) |
| OKLab | oklab(35.19% 0.04 -0.1654) |
| OKLCH | oklch(35.19% 0.17 283.6) |
| XYZ | xyz(6.9208, 3.6933, 25.9341) |
| Luminance | 0.0369 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 3.99
Indigo (survey)
#380282
ΔE00 4.53
Indigo Blue
#3A18B1
ΔE00 4.94
Cobalt Blue
#030AA7
ΔE00 5.42
Indigo
#4B0082
ΔE00 5.70
Royal Blue (survey)
#0504AA
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#371E8E #758E1E
analogous
#1E3D8E #371E8E #6F1E8E
triadic
#371E8E #8E371E #1E8E37
tetradic
#371E8E #8E1E3D #758E1E #1E8E6F
square
#371E8E #8E1E3D #758E1E #1E8E6F
split-complementary
#371E8E #8E6F1E #3D8E1E
monochromatic
#100929 #23135B #371E8E #4B29C1 #6C4DD9
Accessibility & contrast
On white
12.08
#371E8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#371E8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #371E8E
12.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##371E8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##371E8E | 1.00 | 12.08 | 1.74 | 12.08 |
| #FFFFFF | 12.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003991
Deuteranopia (green-blind)
#00328C
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #371e8e; /* rgb */ color: rgb(55, 30, 142); /* oklch */ color: oklch(35.2% 0.170 283.6);
Tailwind
colors: {
custom: {
50: '#795eb0',
500: '#371e8e',
950: '#000000',
},
}SCSS
$custom: #371e8e; $custom-light: #795eb0; $custom-dark: #000000;
JSON
{
"hex": "#371e8e",
"rgb": {
"r": 55,
"g": 30,
"b": 142
},
"hsl": {
"h": 253.393,
"s": 65.116,
"l": 33.725
},
"oklch": {
"l": 0.35193,
"c": 0.17015,
"h": 283.6
},
"luminance": 0.03694
}Semantic roles & 50–950 ramp
primary
#371E8E
secondary
#A3BC4C
accent
#E840C3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980