#371CAD#371CAD
#371CAD is a dark, highly saturated violet. Relative luminance 0.047; OKLCH L 38.4% C 0.208 H 278.7°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).
Color values
| HEX | #371CAD |
|---|---|
| RGB | rgb(55, 28, 173) |
| HSL | hsl(251, 72%, 39%) |
| HSV | hsv(251, 84%, 68%) |
| CMYK | cmyk(68.2%, 83.8%, 0%, 32.2%) |
| CIE-LAB | lab(25.74, 52.38, -71.18) |
| CIE-LCH | lch(25.74, 88.38, 306.35°) |
| OKLab | oklab(38.36% 0.0313 -0.2056) |
| OKLCH | oklch(38.36% 0.208 278.7) |
| XYZ | xyz(9.5312, 4.6590, 39.9241) |
| Luminance | 0.0466 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 0.82
Ultramarine
#2000B1
ΔE00 3.58
True Blue
#010FCC
ΔE00 4.17
Cobalt Blue
#030AA7
ΔE00 4.28
Royal Blue (survey)
#0504AA
ΔE00 4.41
Mediumblue
#0000CD
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#371CAD #92AD1C
analogous
#1C4AAD #371CAD #7F1CAD
triadic
#371CAD #AD371C #1CAD37
tetradic
#371CAD #AD1C4A #92AD1C #1CAD7F
square
#371CAD #AD1C4A #92AD1C #1CAD7F
split-complementary
#371CAD #AD7F1C #4AAD1C
monochromatic
#160B44 #261378 #371CAD #4B2ADC #775EE5
Accessibility & contrast
On white
10.87
#371CAD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#371CAD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #371CAD
10.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##371CAD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##371CAD | 1.00 | 10.87 | 1.93 | 10.87 |
| #FFFFFF | 10.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042B1
Deuteranopia (green-blind)
#0037AB
Tritanopia (blue-blind)
#004B67
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #371cad; /* rgb */ color: rgb(55, 28, 173); /* oklch */ color: oklch(38.4% 0.208 278.7);
Tailwind
colors: {
custom: {
50: '#805fc7',
500: '#371cad',
950: '#000000',
},
}SCSS
$custom: #371cad; $custom-light: #805fc7; $custom-dark: #000000;
JSON
{
"hex": "#371cad",
"rgb": {
"r": 55,
"g": 28,
"b": 173
},
"hsl": {
"h": 251.172,
"s": 72.139,
"l": 39.412
},
"oklch": {
"l": 0.38357,
"c": 0.20794,
"h": 278.7
},
"luminance": 0.0466
}Semantic roles & 50–950 ramp
primary
#371CAD
secondary
#B5C95C
accent
#EF39CD
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982