#371B6E#371B6E
#371B6E is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.6% C 0.134 H 292.4°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).
Color values
| HEX | #371B6E |
|---|---|
| RGB | rgb(55, 27, 110) |
| HSL | hsl(260, 61%, 27%) |
| HSV | hsv(260, 75%, 43%) |
| CMYK | cmyk(50%, 75.5%, 0%, 56.9%) |
| CIE-LAB | lab(18.89, 34.17, -43.18) |
| CIE-LCH | lch(18.89, 55.07, 308.36°) |
| OKLab | oklab(31.6% 0.0511 -0.1238) |
| OKLCH | oklch(31.6% 0.134 292.4) |
| XYZ | xyz(4.7812, 2.7217, 15.0223) |
| Luminance | 0.0272 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 4.68
Indigo (survey)
#380282
ΔE00 5.30
Royal Purple (survey)
#4B006E
ΔE00 5.77
Indigo
#4B0082
ΔE00 5.89
Dark Indigo
#1F0954
ΔE00 5.90
Dark Royal Blue
#02066F
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#371B6E #526E1B
analogous
#1B296E #371B6E #611B6E
triadic
#371B6E #6E371B #1B6E37
tetradic
#371B6E #6E1B29 #526E1B #1B6E61
square
#371B6E #6E1B29 #526E1B #1B6E61
split-complementary
#371B6E #6E611B #296E1B
monochromatic
#0C0619 #1E0F3D #371B6E #50279F #6936CE
Accessibility & contrast
On white
13.60
#371B6E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#371B6E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #371B6E
13.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##371B6E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##371B6E | 1.00 | 13.60 | 1.54 | 13.60 |
| #FFFFFF | 13.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#002C6C
Tritanopia (blue-blind)
#263142
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #371b6e; /* rgb */ color: rgb(55, 27, 110); /* oklch */ color: oklch(31.6% 0.134 292.4);
Tailwind
colors: {
custom: {
50: '#745a98',
500: '#371b6e',
950: '#000000',
},
}SCSS
$custom: #371b6e; $custom-light: #745a98; $custom-dark: #000000;
JSON
{
"hex": "#371b6e",
"rgb": {
"r": 55,
"g": 27,
"b": 110
},
"hsl": {
"h": 260.241,
"s": 60.584,
"l": 26.863
},
"oklch": {
"l": 0.31597,
"c": 0.13396,
"h": 292.4
},
"luminance": 0.02722
}Semantic roles & 50–950 ramp
primary
#371B6E
secondary
#82A342
accent
#E444AE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E