#361F86#361F86
#361F86 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.4% C 0.159 H 284.5°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).
Color values
| HEX | #361F86 |
|---|---|
| RGB | rgb(54, 31, 134) |
| HSL | hsl(253, 62%, 32%) |
| HSV | hsv(253, 77%, 53%) |
| CMYK | cmyk(59.7%, 76.9%, 0%, 47.5%) |
| CIE-LAB | lab(21.89, 39.17, -53.59) |
| CIE-LCH | lch(21.89, 66.38, 306.16°) |
| OKLab | oklab(34.4% 0.04 -0.1544) |
| OKLCH | oklch(34.4% 0.159 284.5) |
| XYZ | xyz(6.3131, 3.4851, 22.8897) |
| Luminance | 0.0348 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 4.43
Indigo (survey)
#380282
ΔE00 4.54
Midnight Blue
#191970
ΔE00 4.99
Indigo
#4B0082
ΔE00 5.74
Indigo Blue
#3A18B1
ΔE00 6.20
Cobalt Blue
#030AA7
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#361F86 #6F861F
analogous
#1F3C86 #361F86 #6A1F86
triadic
#361F86 #86361F #1F8636
tetradic
#361F86 #861F3C #6F861F #1F866A
square
#361F86 #861F3C #6F861F #1F866A
split-complementary
#361F86 #866A1F #3C861F
monochromatic
#0E0823 #221454 #361F86 #4A2AB8 #694AD5
Accessibility & contrast
On white
12.37
#361F86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#361F86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #361F86
12.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##361F86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##361F86 | 1.00 | 12.37 | 1.70 | 12.37 |
| #FFFFFF | 12.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#003184
Tritanopia (blue-blind)
#093C51
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #361f86; /* rgb */ color: rgb(54, 31, 134); /* oklch */ color: oklch(34.4% 0.159 284.5);
Tailwind
colors: {
custom: {
50: '#775eaa',
500: '#361f86',
950: '#000000',
},
}SCSS
$custom: #361f86; $custom-light: #775eaa; $custom-dark: #000000;
JSON
{
"hex": "#361f86",
"rgb": {
"r": 54,
"g": 31,
"b": 134
},
"hsl": {
"h": 253.398,
"s": 62.424,
"l": 32.353
},
"oklch": {
"l": 0.34401,
"c": 0.15947,
"h": 284.5
},
"luminance": 0.03485
}Semantic roles & 50–950 ramp
primary
#361F86
secondary
#9FB849
accent
#E542C1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F