#371C5F#371C5F
#371C5F is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.4% C 0.113 H 297.8°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).
Color values
| HEX | #371C5F |
|---|---|
| RGB | rgb(55, 28, 95) |
| HSL | hsl(264, 54%, 24%) |
| HSV | hsv(264, 71%, 37%) |
| CMYK | cmyk(42.1%, 70.5%, 0%, 62.7%) |
| CIE-LAB | lab(17.78, 29.13, -35.16) |
| CIE-LCH | lch(17.78, 45.66, 309.65°) |
| OKLab | oklab(30.39% 0.0528 -0.1002) |
| OKLCH | oklch(30.39% 0.113 297.8) |
| XYZ | xyz(4.0558, 2.4689, 11.0871) |
| Luminance | 0.0247 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 5.51
Midnight Blue
#191970
ΔE00 6.61
Royal Purple (survey)
#4B006E
ΔE00 6.62
Indigo (survey)
#380282
ΔE00 8.04
Dark Purple
#35063E
ΔE00 8.07
Indigo
#4B0082
ΔE00 8.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#371C5F #445F1C
analogous
#1C235F #371C5F #591C5F
triadic
#371C5F #5F371C #1C5F37
tetradic
#371C5F #5F1C23 #445F1C #1C5F59
square
#371C5F #5F1C23 #445F1C #1C5F59
split-complementary
#371C5F #5F591C #235F1C
monochromatic
#0E0718 #1C0E30 #371C5F #522A8E #6E38BE
Accessibility & contrast
On white
14.06
#371C5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#371C5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #371C5F
14.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##371C5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##371C5F | 1.00 | 14.06 | 1.49 | 14.06 |
| #FFFFFF | 14.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C61
Deuteranopia (green-blind)
#002B5E
Tritanopia (blue-blind)
#2D2C3A
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #371c5f; /* rgb */ color: rgb(55, 28, 95); /* oklch */ color: oklch(30.4% 0.113 297.8);
Tailwind
colors: {
custom: {
50: '#725a8d',
500: '#371c5f',
950: '#000000',
},
}SCSS
$custom: #371c5f; $custom-light: #725a8d; $custom-dark: #000000;
JSON
{
"hex": "#371c5f",
"rgb": {
"r": 55,
"g": 28,
"b": 95
},
"hsl": {
"h": 264.179,
"s": 54.472,
"l": 24.118
},
"oklch": {
"l": 0.30388,
"c": 0.11329,
"h": 297.8
},
"luminance": 0.02469
}Semantic roles & 50–950 ramp
primary
#371C5F
secondary
#739442
accent
#DE4AA2
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D