#371685#371685
#371685 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.167 H 286.8°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).
Color values
| HEX | #371685 |
|---|---|
| RGB | rgb(55, 22, 133) |
| HSL | hsl(258, 72%, 30%) |
| HSV | hsv(258, 83%, 52%) |
| CMYK | cmyk(58.6%, 83.5%, 0%, 47.8%) |
| CIE-LAB | lab(20.36, 43.41, -55.48) |
| CIE-LCH | lch(20.36, 70.45, 308.04°) |
| OKLab | oklab(33.33% 0.0482 -0.1598) |
| OKLCH | oklch(33.33% 0.167 286.8) |
| XYZ | xyz(6.0948, 3.0792, 22.4589) |
| Luminance | 0.0308 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.68
Indigo
#4B0082
ΔE00 4.26
Royal
#0C1793
ΔE00 4.46
Midnight Blue
#191970
ΔE00 5.30
Darkblue
#00008B
ΔE00 5.36
Navy
#000080
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#371685 #648516
analogous
#162C85 #371685 #6E1685
triadic
#371685 #853716 #168537
tetradic
#371685 #85162C #648516 #16856E
square
#371685 #85162C #648516 #16856E
split-complementary
#371685 #856E16 #2C8516
monochromatic
#0C051C #210D50 #371685 #4D1FBA #6937DE
Accessibility & contrast
On white
13.00
#371685 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#371685 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #371685
13.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##371685 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##371685 | 1.00 | 13.00 | 1.62 | 13.00 |
| #FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003488
Deuteranopia (green-blind)
#002E83
Tritanopia (blue-blind)
#11384E
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #371685; /* rgb */ color: rgb(55, 22, 133); /* oklch */ color: oklch(33.3% 0.167 286.8);
Tailwind
colors: {
custom: {
50: '#7859aa',
500: '#371685',
950: '#000000',
},
}SCSS
$custom: #371685; $custom-light: #7859aa; $custom-dark: #000000;
JSON
{
"hex": "#371685",
"rgb": {
"r": 55,
"g": 22,
"b": 133
},
"hsl": {
"h": 257.838,
"s": 71.613,
"l": 30.392
},
"oklch": {
"l": 0.33327,
"c": 0.16688,
"h": 286.8
},
"luminance": 0.03079
}Semantic roles & 50–950 ramp
primary
#371685
secondary
#94B93E
accent
#EE39B9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F