#371C66#371C66
#371C66 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.0% C 0.122 H 295.0°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).
Color values
| HEX | #371C66 |
|---|---|
| RGB | rgb(55, 28, 102) |
| HSL | hsl(262, 57%, 25%) |
| HSV | hsv(262, 73%, 40%) |
| CMYK | cmyk(46.1%, 72.5%, 0%, 60%) |
| CIE-LAB | lab(18.37, 31.21, -38.81) |
| CIE-LCH | lch(18.37, 49.80, 308.81°) |
| OKLab | oklab(31% 0.0517 -0.111) |
| OKLCH | oklch(31% 0.122 295) |
| XYZ | xyz(4.3884, 2.6019, 12.8388) |
| Luminance | 0.0260 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 5.51
Midnight Blue
#191970
ΔE00 5.51
Royal Purple (survey)
#4B006E
ΔE00 6.13
Indigo (survey)
#380282
ΔE00 6.75
Indigo
#4B0082
ΔE00 7.03
Darkblue (survey)
#030764
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#371C66 #4B661C
analogous
#1C2666 #371C66 #5C1C66
triadic
#371C66 #66371C #1C6637
tetradic
#371C66 #661C26 #4B661C #1C665C
square
#371C66 #661C26 #4B661C #1C665C
split-complementary
#371C66 #665C1C #26661C
monochromatic
#0D0718 #1D0F36 #371C66 #512996 #6B36C6
Accessibility & contrast
On white
13.81
#371C66 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#371C66 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #371C66
13.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##371C66 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##371C66 | 1.00 | 13.81 | 1.52 | 13.81 |
| #FFFFFF | 13.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D68
Deuteranopia (green-blind)
#002C64
Tritanopia (blue-blind)
#2A2E3E
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #371c66; /* rgb */ color: rgb(55, 28, 102); /* oklch */ color: oklch(31.0% 0.122 295.0);
Tailwind
colors: {
custom: {
50: '#735a92',
500: '#371c66',
950: '#000000',
},
}SCSS
$custom: #371c66; $custom-light: #735a92; $custom-dark: #000000;
JSON
{
"hex": "#371c66",
"rgb": {
"r": 55,
"g": 28,
"b": 102
},
"hsl": {
"h": 261.892,
"s": 56.923,
"l": 25.49
},
"oklch": {
"l": 0.31002,
"c": 0.12242,
"h": 295
},
"luminance": 0.02602
}Semantic roles & 50–950 ramp
primary
#371C66
secondary
#7B9B43
accent
#E048A9
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E