#371B9F#371B9F
#371B9F is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.7% C 0.193 H 280.9°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).
Color values
| HEX | #371B9F |
|---|---|
| RGB | rgb(55, 27, 159) |
| HSL | hsl(253, 71%, 36%) |
| HSV | hsv(253, 83%, 62%) |
| CMYK | cmyk(65.4%, 83%, 0%, 37.6%) |
| CIE-LAB | lab(24.00, 48.75, -65.59) |
| CIE-LCH | lch(24.00, 81.73, 306.62°) |
| OKLab | oklab(36.69% 0.0364 -0.1893) |
| OKLCH | oklch(36.69% 0.193 280.9) |
| XYZ | xyz(8.2235, 4.0987, 33.1519) |
| Luminance | 0.0410 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.46
Ultramarine
#2000B1
ΔE00 3.91
Cobalt Blue
#030AA7
ΔE00 4.00
Royal
#0C1793
ΔE00 4.11
Royal Blue (survey)
#0504AA
ΔE00 4.26
Indigo (survey)
#380282
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#371B9F #839F1B
analogous
#1B419F #371B9F #791B9F
triadic
#371B9F #9F371B #1B9F37
tetradic
#371B9F #9F1B41 #839F1B #1B9F79
square
#371B9F #9F1B41 #839F1B #1B9F79
split-complementary
#371B9F #9F791B #419F1B
monochromatic
#130936 #25126B #371B9F #4924D3 #7153E2
Accessibility & contrast
On white
11.54
#371B9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#371B9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #371B9F
11.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##371B9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##371B9F | 1.00 | 11.54 | 1.82 | 11.54 |
| #FFFFFF | 11.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.54 | 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: #371b9f; /* rgb */ color: rgb(55, 27, 159); /* oklch */ color: oklch(36.7% 0.193 280.9);
Tailwind
colors: {
custom: {
50: '#7d5dbd',
500: '#371b9f',
950: '#000000',
},
}SCSS
$custom: #371b9f; $custom-light: #7d5dbd; $custom-dark: #000000;
JSON
{
"hex": "#371b9f",
"rgb": {
"r": 55,
"g": 27,
"b": 159
},
"hsl": {
"h": 252.727,
"s": 70.968,
"l": 36.471
},
"oklch": {
"l": 0.36689,
"c": 0.19277,
"h": 280.9
},
"luminance": 0.04099
}Semantic roles & 50–950 ramp
primary
#371B9F
secondary
#ACC551
accent
#EE3AC8
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981