#371C5D#371C5D
#371C5D is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.2% C 0.111 H 298.6°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).
Color values
| HEX | #371C5D |
|---|---|
| RGB | rgb(55, 28, 93) |
| HSL | hsl(265, 54%, 24%) |
| HSV | hsv(265, 70%, 36%) |
| CMYK | cmyk(40.9%, 69.9%, 0%, 63.5%) |
| CIE-LAB | lab(17.61, 28.54, -34.09) |
| CIE-LCH | lch(17.61, 44.46, 309.93°) |
| OKLab | oklab(30.22% 0.053 -0.0971) |
| OKLCH | oklch(30.22% 0.111 298.6) |
| XYZ | xyz(3.9661, 2.4330, 10.6145) |
| Luminance | 0.0243 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 5.60
Royal Purple (survey)
#4B006E
ΔE00 6.81
Midnight Blue
#191970
ΔE00 6.97
Dark Purple
#35063E
ΔE00 7.73
Dark Violet
#34013F
ΔE00 7.82
Deep Purple
#36013F
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#371C5D #425D1C
analogous
#1C215D #371C5D #571C5D
triadic
#371C5D #5D371C #1C5D37
tetradic
#371C5D #5D1C21 #425D1C #1C5D57
square
#371C5D #5D1C21 #425D1C #1C5D57
split-complementary
#371C5D #5D571C #215D1C
monochromatic
#0E0718 #1B0E2E #371C5D #532A8C #6F38BB
Accessibility & contrast
On white
14.13
#371C5D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#371C5D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #371C5D
14.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##371C5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##371C5D | 1.00 | 14.13 | 1.49 | 14.13 |
| #FFFFFF | 14.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B5F
Deuteranopia (green-blind)
#002B5C
Tritanopia (blue-blind)
#2E2B39
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #371c5d; /* rgb */ color: rgb(55, 28, 93); /* oklch */ color: oklch(30.2% 0.111 298.6);
Tailwind
colors: {
custom: {
50: '#715a8b',
500: '#371c5d',
950: '#000000',
},
}SCSS
$custom: #371c5d; $custom-light: #715a8b; $custom-dark: #000000;
JSON
{
"hex": "#371c5d",
"rgb": {
"r": 55,
"g": 28,
"b": 93
},
"hsl": {
"h": 264.923,
"s": 53.719,
"l": 23.725
},
"oklch": {
"l": 0.30217,
"c": 0.11065,
"h": 298.6
},
"luminance": 0.02433
}Semantic roles & 50–950 ramp
primary
#371C5D
secondary
#719242
accent
#DD4BA0
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D