#371381#371381
#371381 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.165 H 288.2°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).
Color values
| HEX | #371381 |
|---|---|
| RGB | rgb(55, 19, 129) |
| HSL | hsl(260, 74%, 29%) |
| HSV | hsv(260, 85%, 51%) |
| CMYK | cmyk(57.4%, 85.3%, 0%, 49.4%) |
| CIE-LAB | lab(19.48, 43.55, -54.40) |
| CIE-LCH | lch(19.48, 69.68, 308.68°) |
| OKLab | oklab(32.6% 0.0515 -0.1566) |
| OKLCH | oklch(32.6% 0.165 288.2) |
| XYZ | xyz(5.7697, 2.8626, 21.0131) |
| Luminance | 0.0286 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.14
Indigo
#4B0082
ΔE00 3.88
Royal
#0C1793
ΔE00 4.92
Midnight Blue
#191970
ΔE00 5.22
Darkblue
#00008B
ΔE00 5.30
Navy
#000080
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#371381 #5D8113
analogous
#132681 #371381 #6E1381
triadic
#371381 #813713 #138137
tetradic
#371381 #811326 #5D8113 #13816E
square
#371381 #811326 #5D8113 #13816E
split-complementary
#371381 #816E13 #268113
monochromatic
#0B041B #200B4C #371381 #4E1BB6 #682EE0
Accessibility & contrast
On white
13.35
#371381 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#371381 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #371381
13.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##371381 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##371381 | 1.00 | 13.35 | 1.57 | 13.35 |
| #FFFFFF | 13.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003184
Deuteranopia (green-blind)
#002C7F
Tritanopia (blue-blind)
#16354C
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #371381; /* rgb */ color: rgb(55, 19, 129); /* oklch */ color: oklch(32.6% 0.165 288.2);
Tailwind
colors: {
custom: {
50: '#7857a7',
500: '#371381',
950: '#000000',
},
}SCSS
$custom: #371381; $custom-light: #7857a7; $custom-dark: #000000;
JSON
{
"hex": "#371381",
"rgb": {
"r": 55,
"g": 19,
"b": 129
},
"hsl": {
"h": 259.636,
"s": 74.324,
"l": 29.02
},
"oklch": {
"l": 0.32595,
"c": 0.16481,
"h": 288.2
},
"luminance": 0.02863
}Semantic roles & 50–950 ramp
primary
#371381
secondary
#8DB63A
accent
#F137B4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0310
muted
#7C787F