#371D9C#371D9C
#371D9C is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.188 H 281.2°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).
Color values
| HEX | #371D9C |
|---|---|
| RGB | rgb(55, 29, 156) |
| HSL | hsl(252, 69%, 36%) |
| HSV | hsv(252, 81%, 61%) |
| CMYK | cmyk(64.7%, 81.4%, 0%, 38.8%) |
| CIE-LAB | lab(23.97, 46.97, -63.80) |
| CIE-LCH | lch(23.97, 79.23, 306.36°) |
| OKLab | oklab(36.57% 0.0364 -0.1841) |
| OKLCH | oklch(36.57% 0.188 281.2) |
| XYZ | xyz(8.0138, 4.0906, 31.8133) |
| Luminance | 0.0409 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.91
Royal
#0C1793
ΔE00 4.02
Cobalt Blue
#030AA7
ΔE00 4.31
Ultramarine
#2000B1
ΔE00 4.38
Royal Blue (survey)
#0504AA
ΔE00 4.62
Indigo (survey)
#380282
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#371D9C #829C1D
analogous
#1D439C #371D9C #771D9C
triadic
#371D9C #9C371D #1D9C37
tetradic
#371D9C #9C1D43 #829C1D #1D9C77
square
#371D9C #9C1D43 #829C1D #1D9C77
split-complementary
#371D9C #9C771D #439C1D
monochromatic
#130A35 #251368 #371D9C #4927D0 #7154DF
Accessibility & contrast
On white
11.55
#371D9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#371D9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #371D9C
11.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##371D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##371D9C | 1.00 | 11.55 | 1.82 | 11.55 |
| #FFFFFF | 11.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D9F
Deuteranopia (green-blind)
#00349A
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #371d9c; /* rgb */ color: rgb(55, 29, 156); /* oklch */ color: oklch(36.6% 0.188 281.2);
Tailwind
colors: {
custom: {
50: '#7c5eba',
500: '#371d9c',
950: '#000000',
},
}SCSS
$custom: #371d9c; $custom-light: #7c5eba; $custom-dark: #000000;
JSON
{
"hex": "#371d9c",
"rgb": {
"r": 55,
"g": 29,
"b": 156
},
"hsl": {
"h": 252.283,
"s": 68.649,
"l": 36.275
},
"oklch": {
"l": 0.36572,
"c": 0.18767,
"h": 281.2
},
"luminance": 0.04091
}Semantic roles & 50–950 ramp
primary
#371D9C
secondary
#ABC252
accent
#EB3CC8
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981