#371C9E#371C9E
#371C9E is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.7% C 0.191 H 280.9°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).
Color values
| HEX | #371C9E |
|---|---|
| RGB | rgb(55, 28, 158) |
| HSL | hsl(252, 70%, 36%) |
| HSV | hsv(252, 82%, 62%) |
| CMYK | cmyk(65.2%, 82.3%, 0%, 38%) |
| CIE-LAB | lab(24.03, 48.02, -64.92) |
| CIE-LCH | lch(24.03, 80.74, 306.49°) |
| OKLab | oklab(36.68% 0.0362 -0.1873) |
| OKLCH | oklch(36.68% 0.191 280.9) |
| XYZ | xyz(8.1604, 4.1107, 32.7045) |
| Luminance | 0.0411 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.61
Royal
#0C1793
ΔE00 4.08
Ultramarine
#2000B1
ΔE00 4.10
Cobalt Blue
#030AA7
ΔE00 4.13
Royal Blue (survey)
#0504AA
ΔE00 4.41
Indigo (survey)
#380282
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#371C9E #839E1C
analogous
#1C429E #371C9E #781C9E
triadic
#371C9E #9E371C #1C9E37
tetradic
#371C9E #9E1C42 #839E1C #1C9E78
square
#371C9E #9E1C42 #839E1C #1C9E78
split-complementary
#371C9E #9E781C #429E1C
monochromatic
#130A36 #25136A #371C9E #4925D2 #7154E1
Accessibility & contrast
On white
11.52
#371C9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#371C9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #371C9E
11.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##371C9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##371C9E | 1.00 | 11.52 | 1.82 | 11.52 |
| #FFFFFF | 11.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003EA2
Deuteranopia (green-blind)
#00349C
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #371c9e; /* rgb */ color: rgb(55, 28, 158); /* oklch */ color: oklch(36.7% 0.191 280.9);
Tailwind
colors: {
custom: {
50: '#7d5dbc',
500: '#371c9e',
950: '#000000',
},
}SCSS
$custom: #371c9e; $custom-light: #7d5dbc; $custom-dark: #000000;
JSON
{
"hex": "#371c9e",
"rgb": {
"r": 55,
"g": 28,
"b": 158
},
"hsl": {
"h": 252.462,
"s": 69.892,
"l": 36.471
},
"oklch": {
"l": 0.36683,
"c": 0.19082,
"h": 280.9
},
"luminance": 0.04111
}Semantic roles & 50–950 ramp
primary
#371C9E
secondary
#ACC452
accent
#ED3BC8
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981