#371D9F#371D9F
#371D9F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.191 H 280.7°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).
Color values
| HEX | #371D9F |
|---|---|
| RGB | rgb(55, 29, 159) |
| HSL | hsl(252, 69%, 37%) |
| HSV | hsv(252, 82%, 62%) |
| CMYK | cmyk(65.4%, 81.8%, 0%, 37.6%) |
| CIE-LAB | lab(24.30, 47.86, -65.09) |
| CIE-LCH | lch(24.30, 80.79, 306.33°) |
| OKLab | oklab(36.9% 0.0354 -0.1878) |
| OKLCH | oklch(36.9% 0.191 280.7) |
| XYZ | xyz(8.2709, 4.1935, 33.1677) |
| Luminance | 0.0419 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.51
Ultramarine
#2000B1
ΔE00 4.16
Royal
#0C1793
ΔE00 4.17
Cobalt Blue
#030AA7
ΔE00 4.21
Royal Blue (survey)
#0504AA
ΔE00 4.50
Indigo (survey)
#380282
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#371D9F #859F1D
analogous
#1D449F #371D9F #781D9F
triadic
#371D9F #9F371D #1D9F37
tetradic
#371D9F #9F1D44 #859F1D #1D9F78
square
#371D9F #9F1D44 #859F1D #1D9F78
split-complementary
#371D9F #9F781D #449F1D
monochromatic
#130A37 #25146B #371D9F #4926D3 #7256E0
Accessibility & contrast
On white
11.42
#371D9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#371D9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #371D9F
11.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##371D9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##371D9F | 1.00 | 11.42 | 1.84 | 11.42 |
| #FFFFFF | 11.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003EA3
Deuteranopia (green-blind)
#00359D
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #371d9f; /* rgb */ color: rgb(55, 29, 159); /* oklch */ color: oklch(36.9% 0.191 280.7);
Tailwind
colors: {
custom: {
50: '#7d5ebd',
500: '#371d9f',
950: '#000000',
},
}SCSS
$custom: #371d9f; $custom-light: #7d5ebd; $custom-dark: #000000;
JSON
{
"hex": "#371d9f",
"rgb": {
"r": 55,
"g": 29,
"b": 159
},
"hsl": {
"h": 252,
"s": 69.149,
"l": 36.863
},
"oklch": {
"l": 0.369,
"c": 0.19116,
"h": 280.7
},
"luminance": 0.04194
}Semantic roles & 50–950 ramp
primary
#371D9F
secondary
#ADC454
accent
#EC3CC9
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981