#371A4E#371A4E
#371A4E is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.7% C 0.094 H 307.2°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).
Color values
| HEX | #371A4E |
|---|---|
| RGB | rgb(55, 26, 78) |
| HSL | hsl(273, 50%, 20%) |
| HSV | hsv(273, 67%, 31%) |
| CMYK | cmyk(29.5%, 66.7%, 0%, 69.4%) |
| CIE-LAB | lab(16.01, 25.47, -26.57) |
| CIE-LCH | lch(16.01, 36.80, 313.79°) |
| OKLab | oklab(28.69% 0.0568 -0.075) |
| OKLCH | oklch(28.69% 0.094 307.2) |
| XYZ | xyz(3.3198, 2.1011, 7.4369) |
| Luminance | 0.0210 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Purple
#35063E
ΔE00 5.13
Dark Violet
#34013F
ΔE00 5.74
Deep Purple
#36013F
ΔE00 5.85
Midnight Purple
#280137
ΔE00 6.35
Very Dark Purple
#2A0134
ΔE00 6.70
Eggplant Purple
#430541
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#371A4E #314E1A
analogous
#1D1A4E #371A4E #4E1A4B
triadic
#371A4E #4E371A #1A4E37
tetradic
#371A4E #4E1D1A #314E1A #1A4B4E
square
#371A4E #4E1D1A #314E1A #1A4B4E
split-complementary
#371A4E #4B4E1A #1A4E1D
monochromatic
#100817 #170B20 #371A4E #57297C #7839AA
Accessibility & contrast
On white
14.79
#371A4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#371A4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #371A4E
14.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##371A4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##371A4E | 1.00 | 14.79 | 1.42 | 14.79 |
| #FFFFFF | 14.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#042750
Deuteranopia (green-blind)
#11284D
Tritanopia (blue-blind)
#332431
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #371a4e; /* rgb */ color: rgb(55, 26, 78); /* oklch */ color: oklch(28.7% 0.094 307.2);
Tailwind
colors: {
custom: {
50: '#705880',
500: '#371a4e',
950: '#000000',
},
}SCSS
$custom: #371a4e; $custom-light: #705880; $custom-dark: #000000;
JSON
{
"hex": "#371a4e",
"rgb": {
"r": 55,
"g": 26,
"b": 78
},
"hsl": {
"h": 273.462,
"s": 50,
"l": 20.392
},
"oklch": {
"l": 0.28687,
"c": 0.0941,
"h": 307.2
},
"luminance": 0.02101
}Semantic roles & 50–950 ramp
primary
#371A4E
secondary
#5E8440
accent
#DA4E8C
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#08030A
muted
#7B787C