#371C89#371C89
#371C89 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.166 H 285.0°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).
Color values
| HEX | #371C89 |
|---|---|
| RGB | rgb(55, 28, 137) |
| HSL | hsl(255, 66%, 32%) |
| HSV | hsv(255, 80%, 54%) |
| CMYK | cmyk(59.9%, 79.6%, 0%, 46.3%) |
| CIE-LAB | lab(21.76, 41.77, -55.69) |
| CIE-LCH | lch(21.76, 69.61, 306.87°) |
| OKLab | oklab(34.43% 0.0429 -0.1604) |
| OKLCH | oklch(34.43% 0.166 285) |
| XYZ | xyz(6.5048, 3.4485, 23.9849) |
| Luminance | 0.0345 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.92
Royal
#0C1793
ΔE00 4.18
Indigo
#4B0082
ΔE00 5.19
Midnight Blue
#191970
ΔE00 5.41
Indigo Blue
#3A18B1
ΔE00 5.63
Cobalt Blue
#030AA7
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#371C89 #6E891C
analogous
#1C3889 #371C89 #6D1C89
triadic
#371C89 #89371C #1C8937
tetradic
#371C89 #891C38 #6E891C #1C896D
square
#371C89 #891C38 #6E891C #1C896D
split-complementary
#371C89 #896D1C #38891C
monochromatic
#0E0723 #231256 #371C89 #4B26BC #6B46D9
Accessibility & contrast
On white
12.43
#371C89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#371C89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #371C89
12.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##371C89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##371C89 | 1.00 | 12.43 | 1.69 | 12.43 |
| #FFFFFF | 12.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00378C
Deuteranopia (green-blind)
#003187
Tritanopia (blue-blind)
#083C52
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #371c89; /* rgb */ color: rgb(55, 28, 137); /* oklch */ color: oklch(34.4% 0.166 285.0);
Tailwind
colors: {
custom: {
50: '#795cad',
500: '#371c89',
950: '#000000',
},
}SCSS
$custom: #371c89; $custom-light: #795cad; $custom-dark: #000000;
JSON
{
"hex": "#371c89",
"rgb": {
"r": 55,
"g": 28,
"b": 137
},
"hsl": {
"h": 254.862,
"s": 66.061,
"l": 32.353
},
"oklch": {
"l": 0.34426,
"c": 0.16608,
"h": 285
},
"luminance": 0.03449
}Semantic roles & 50–950 ramp
primary
#371C89
secondary
#9EBB46
accent
#E93FBF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F