#371780#371780
#371780 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.160 H 287.9°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).
Color values
| HEX | #371780 |
|---|---|
| RGB | rgb(55, 23, 128) |
| HSL | hsl(258, 70%, 30%) |
| HSV | hsv(258, 82%, 50%) |
| CMYK | cmyk(57%, 82%, 0%, 49.8%) |
| CIE-LAB | lab(19.98, 41.52, -52.95) |
| CIE-LCH | lch(19.98, 67.29, 308.10°) |
| OKLab | oklab(32.9% 0.0492 -0.1524) |
| OKLCH | oklch(32.9% 0.16 287.9) |
| XYZ | xyz(5.7771, 2.9832, 20.6893) |
| Luminance | 0.0298 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.87
Indigo
#4B0082
ΔE00 4.31
Midnight Blue
#191970
ΔE00 4.89
Royal
#0C1793
ΔE00 4.95
Darkblue
#00008B
ΔE00 5.74
Navy
#000080
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#371780 #608017
analogous
#172B80 #371780 #6C1780
triadic
#371780 #803717 #178037
tetradic
#371780 #80172B #608017 #17806C
square
#371780 #80172B #608017 #17806C
split-complementary
#371780 #806C17 #2B8017
monochromatic
#0B051A #210E4C #371780 #4D20B4 #6936DB
Accessibility & contrast
On white
13.15
#371780 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#371780 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #371780
13.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##371780 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##371780 | 1.00 | 13.15 | 1.60 | 13.15 |
| #FFFFFF | 13.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003383
Deuteranopia (green-blind)
#002D7E
Tritanopia (blue-blind)
#17364C
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #371780; /* rgb */ color: rgb(55, 23, 128); /* oklch */ color: oklch(32.9% 0.160 287.9);
Tailwind
colors: {
custom: {
50: '#7759a6',
500: '#371780',
950: '#000000',
},
}SCSS
$custom: #371780; $custom-light: #7759a6; $custom-dark: #000000;
JSON
{
"hex": "#371780",
"rgb": {
"r": 55,
"g": 23,
"b": 128
},
"hsl": {
"h": 258.286,
"s": 69.536,
"l": 29.608
},
"oklch": {
"l": 0.32902,
"c": 0.16016,
"h": 287.9
},
"luminance": 0.02984
}Semantic roles & 50–950 ramp
primary
#371780
secondary
#90B43E
accent
#EC3BB6
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F