#371B9E#371B9E
#371B9E is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.192 H 281.0°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).
Color values
| HEX | #371B9E |
|---|---|
| RGB | rgb(55, 27, 158) |
| HSL | hsl(253, 71%, 36%) |
| HSV | hsv(253, 83%, 62%) |
| CMYK | cmyk(65.2%, 82.9%, 0%, 38%) |
| CIE-LAB | lab(23.88, 48.46, -65.17) |
| CIE-LCH | lch(23.88, 81.21, 306.64°) |
| OKLab | oklab(36.58% 0.0367 -0.1881) |
| OKLCH | oklch(36.58% 0.192 281) |
| XYZ | xyz(8.1371, 4.0641, 32.6968) |
| Luminance | 0.0406 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.59
Ultramarine
#2000B1
ΔE00 3.98
Cobalt Blue
#030AA7
ΔE00 4.03
Royal
#0C1793
ΔE00 4.06
Royal Blue (survey)
#0504AA
ΔE00 4.30
Indigo (survey)
#380282
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#371B9E #829E1B
analogous
#1B419E #371B9E #791B9E
triadic
#371B9E #9E371B #1B9E37
tetradic
#371B9E #9E1B41 #829E1B #1B9E79
square
#371B9E #9E1B41 #829E1B #1B9E79
split-complementary
#371B9E #9E791B #419E1B
monochromatic
#130935 #25126A #371B9E #4924D2 #7152E1
Accessibility & contrast
On white
11.58
#371B9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#371B9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #371B9E
11.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##371B9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##371B9E | 1.00 | 11.58 | 1.81 | 11.58 |
| #FFFFFF | 11.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA2
Deuteranopia (green-blind)
#00349C
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #371b9e; /* rgb */ color: rgb(55, 27, 158); /* oklch */ color: oklch(36.6% 0.192 281.0);
Tailwind
colors: {
custom: {
50: '#7d5dbc',
500: '#371b9e',
950: '#000000',
},
}SCSS
$custom: #371b9e; $custom-light: #7d5dbc; $custom-dark: #000000;
JSON
{
"hex": "#371b9e",
"rgb": {
"r": 55,
"g": 27,
"b": 158
},
"hsl": {
"h": 252.824,
"s": 70.811,
"l": 36.275
},
"oklch": {
"l": 0.36578,
"c": 0.19162,
"h": 281
},
"luminance": 0.04065
}Semantic roles & 50–950 ramp
primary
#371B9E
secondary
#ABC451
accent
#EE3AC7
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981