#371C6E#371C6E
#371C6E is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.7% C 0.133 H 292.2°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).
Color values
| HEX | #371C6E |
|---|---|
| RGB | rgb(55, 28, 110) |
| HSL | hsl(260, 59%, 27%) |
| HSV | hsv(260, 75%, 43%) |
| CMYK | cmyk(50%, 74.5%, 0%, 56.9%) |
| CIE-LAB | lab(19.09, 33.62, -42.86) |
| CIE-LCH | lch(19.09, 54.47, 308.11°) |
| OKLab | oklab(31.74% 0.0501 -0.1229) |
| OKLCH | oklch(31.74% 0.133 292.2) |
| XYZ | xyz(4.8045, 2.7684, 15.0300) |
| Luminance | 0.0277 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 4.67
Indigo (survey)
#380282
ΔE00 5.50
Royal Purple (survey)
#4B006E
ΔE00 5.96
Dark Indigo
#1F0954
ΔE00 6.01
Indigo
#4B0082
ΔE00 6.07
Dark Royal Blue
#02066F
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#371C6E #536E1C
analogous
#1C2A6E #371C6E #601C6E
triadic
#371C6E #6E371C #1C6E37
tetradic
#371C6E #6E1C2A #536E1C #1C6E60
square
#371C6E #6E1C2A #536E1C #1C6E60
split-complementary
#371C6E #6E601C #2A6E1C
monochromatic
#0C0618 #1F103D #371C6E #4F289F #6938CC
Accessibility & contrast
On white
13.52
#371C6E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#371C6E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #371C6E
13.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##371C6E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##371C6E | 1.00 | 13.52 | 1.55 | 13.52 |
| #FFFFFF | 13.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#002D6C
Tritanopia (blue-blind)
#263143
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #371c6e; /* rgb */ color: rgb(55, 28, 110); /* oklch */ color: oklch(31.7% 0.133 292.2);
Tailwind
colors: {
custom: {
50: '#745b98',
500: '#371c6e',
950: '#000000',
},
}SCSS
$custom: #371c6e; $custom-light: #745b98; $custom-dark: #000000;
JSON
{
"hex": "#371c6e",
"rgb": {
"r": 55,
"g": 28,
"b": 110
},
"hsl": {
"h": 259.756,
"s": 59.42,
"l": 27.059
},
"oklch": {
"l": 0.31737,
"c": 0.13271,
"h": 292.2
},
"luminance": 0.02769
}Semantic roles & 50–950 ramp
primary
#371C6E
secondary
#83A343
accent
#E345AF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E