#371A9B#371A9B
#371A9B is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.189 H 281.7°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).
Color values
| HEX | #371A9B |
|---|---|
| RGB | rgb(55, 26, 155) |
| HSL | hsl(253, 71%, 35%) |
| HSV | hsv(253, 83%, 61%) |
| CMYK | cmyk(64.5%, 83.2%, 0%, 39.2%) |
| CIE-LAB | lab(23.40, 48.03, -64.14) |
| CIE-LCH | lch(23.40, 80.13, 306.83°) |
| OKLab | oklab(36.14% 0.0382 -0.185) |
| OKLCH | oklch(36.14% 0.189 281.7) |
| XYZ | xyz(7.8595, 3.9170, 31.3459) |
| Luminance | 0.0392 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.00
Royal
#0C1793
ΔE00 3.89
Cobalt Blue
#030AA7
ΔE00 4.06
Ultramarine
#2000B1
ΔE00 4.11
Royal Blue (survey)
#0504AA
ΔE00 4.33
Indigo (survey)
#380282
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#371A9B #7E9B1A
analogous
#1A3E9B #371A9B #771A9B
triadic
#371A9B #9B371A #1A9B37
tetradic
#371A9B #9B1A3E #7E9B1A #1A9B77
square
#371A9B #9B1A3E #7E9B1A #1A9B77
split-complementary
#371A9B #9B771A #3E9B1A
monochromatic
#120832 #241167 #371A9B #4A23CF #6F4EE1
Accessibility & contrast
On white
11.77
#371A9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#371A9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #371A9B
11.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##371A9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##371A9B | 1.00 | 11.77 | 1.78 | 11.77 |
| #FFFFFF | 11.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C9E
Deuteranopia (green-blind)
#003399
Tritanopia (blue-blind)
#00425C
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #371a9b; /* rgb */ color: rgb(55, 26, 155); /* oklch */ color: oklch(36.1% 0.189 281.7);
Tailwind
colors: {
custom: {
50: '#7c5cba',
500: '#371a9b',
950: '#000000',
},
}SCSS
$custom: #371a9b; $custom-light: #7c5cba; $custom-dark: #000000;
JSON
{
"hex": "#371a9b",
"rgb": {
"r": 55,
"g": 26,
"b": 155
},
"hsl": {
"h": 253.488,
"s": 71.271,
"l": 35.49
},
"oklch": {
"l": 0.36143,
"c": 0.18896,
"h": 281.7
},
"luminance": 0.03918
}Semantic roles & 50–950 ramp
primary
#371A9B
secondary
#A9C44D
accent
#EE3AC6
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981