#371D6E#371D6E
#371D6E is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.9% C 0.131 H 291.9°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).
Color values
| HEX | #371D6E |
|---|---|
| RGB | rgb(55, 29, 110) |
| HSL | hsl(259, 58%, 27%) |
| HSV | hsv(259, 74%, 43%) |
| CMYK | cmyk(50%, 73.6%, 0%, 56.9%) |
| CIE-LAB | lab(19.29, 33.05, -42.53) |
| CIE-LCH | lch(19.29, 53.86, 307.85°) |
| OKLab | oklab(31.88% 0.0491 -0.1219) |
| OKLCH | oklch(31.88% 0.131 291.9) |
| XYZ | xyz(4.8286, 2.8166, 15.0381) |
| Luminance | 0.0282 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 4.68
Indigo (survey)
#380282
ΔE00 5.71
Dark Indigo
#1F0954
ΔE00 6.13
Royal Purple (survey)
#4B006E
ΔE00 6.16
Indigo
#4B0082
ΔE00 6.26
Dark Royal Blue
#02066F
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#371D6E #546E1D
analogous
#1D2C6E #371D6E #5F1D6E
triadic
#371D6E #6E371D #1D6E37
tetradic
#371D6E #6E1D2C #546E1D #1D6E5F
square
#371D6E #6E1D2C #546E1D #1D6E5F
split-complementary
#371D6E #6E5F1D #2C6E1D
monochromatic
#0C0618 #1F103E #371D6E #4F2A9E #693ACB
Accessibility & contrast
On white
13.43
#371D6E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#371D6E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #371D6E
13.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##371D6E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##371D6E | 1.00 | 13.43 | 1.56 | 13.43 |
| #FFFFFF | 13.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003070
Deuteranopia (green-blind)
#002D6C
Tritanopia (blue-blind)
#263243
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #371d6e; /* rgb */ color: rgb(55, 29, 110); /* oklch */ color: oklch(31.9% 0.131 291.9);
Tailwind
colors: {
custom: {
50: '#745b98',
500: '#371d6e',
950: '#000000',
},
}SCSS
$custom: #371d6e; $custom-light: #745b98; $custom-dark: #000000;
JSON
{
"hex": "#371d6e",
"rgb": {
"r": 55,
"g": 29,
"b": 110
},
"hsl": {
"h": 259.259,
"s": 58.273,
"l": 27.255
},
"oklch": {
"l": 0.31881,
"c": 0.13142,
"h": 291.9
},
"luminance": 0.02817
}Semantic roles & 50–950 ramp
primary
#371D6E
secondary
#84A244
accent
#E146B0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E