#371A9F#371A9F
#371A9F is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.194 H 281.0°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).
Color values
| HEX | #371A9F |
|---|---|
| RGB | rgb(55, 26, 159) |
| HSL | hsl(253, 72%, 36%) |
| HSV | hsv(253, 84%, 62%) |
| CMYK | cmyk(65.4%, 83.6%, 0%, 37.6%) |
| CIE-LAB | lab(23.85, 49.18, -65.84) |
| CIE-LCH | lch(23.85, 82.18, 306.76°) |
| OKLab | oklab(36.59% 0.0369 -0.19) |
| OKLCH | oklch(36.59% 0.194 281) |
| XYZ | xyz(8.2010, 4.0536, 33.1444) |
| Luminance | 0.0405 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.45
Ultramarine
#2000B1
ΔE00 3.79
Cobalt Blue
#030AA7
ΔE00 3.91
Royal
#0C1793
ΔE00 4.09
Royal Blue (survey)
#0504AA
ΔE00 4.16
Indigo (survey)
#380282
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#371A9F #829F1A
analogous
#1A409F #371A9F #7A1A9F
triadic
#371A9F #9F371A #1A9F37
tetradic
#371A9F #9F1A40 #829F1A #1A9F7A
square
#371A9F #9F1A40 #829F1A #1A9F7A
split-complementary
#371A9F #9F7A1A #409F1A
monochromatic
#130936 #25116A #371A9F #4923D4 #7151E3
Accessibility & contrast
On white
11.60
#371A9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#371A9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #371A9F
11.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##371A9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##371A9F | 1.00 | 11.60 | 1.81 | 11.60 |
| #FFFFFF | 11.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA3
Deuteranopia (green-blind)
#00349D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #371a9f; /* rgb */ color: rgb(55, 26, 159); /* oklch */ color: oklch(36.6% 0.194 281.0);
Tailwind
colors: {
custom: {
50: '#7d5dbd',
500: '#371a9f',
950: '#000000',
},
}SCSS
$custom: #371a9f; $custom-light: #7d5dbd; $custom-dark: #000000;
JSON
{
"hex": "#371a9f",
"rgb": {
"r": 55,
"g": 26,
"b": 159
},
"hsl": {
"h": 253.083,
"s": 71.892,
"l": 36.275
},
"oklch": {
"l": 0.36588,
"c": 0.19353,
"h": 281
},
"luminance": 0.04054
}Semantic roles & 50–950 ramp
primary
#371A9F
secondary
#ABC550
accent
#EF39C7
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981