#361B86#361B86
#361B86 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.9% C 0.164 H 285.2°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).
Color values
| HEX | #361B86 |
|---|---|
| RGB | rgb(54, 27, 134) |
| HSL | hsl(255, 66%, 32%) |
| HSV | hsv(255, 80%, 53%) |
| CMYK | cmyk(59.7%, 79.9%, 0%, 47.5%) |
| CIE-LAB | lab(21.17, 41.24, -54.78) |
| CIE-LCH | lch(21.17, 68.57, 306.97°) |
| OKLab | oklab(33.89% 0.0429 -0.1578) |
| OKLCH | oklch(33.89% 0.164 285.2) |
| XYZ | xyz(6.2150, 3.2890, 22.8570) |
| Luminance | 0.0329 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.68
Royal
#0C1793
ΔE00 4.25
Midnight Blue
#191970
ΔE00 5.04
Indigo
#4B0082
ΔE00 5.07
Darkblue
#00008B
ΔE00 5.82
Cobalt Blue
#030AA7
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#361B86 #6B861B
analogous
#1B3686 #361B86 #6C1B86
triadic
#361B86 #86361B #1B8636
tetradic
#361B86 #861B36 #6B861B #1B866C
square
#361B86 #861B36 #6B861B #1B866C
split-complementary
#361B86 #866C1B #36861B
monochromatic
#0D0620 #211153 #361B86 #4B25B9 #6842D9
Accessibility & contrast
On white
12.67
#361B86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#361B86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #361B86
12.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##361B86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##361B86 | 1.00 | 12.67 | 1.66 | 12.67 |
| #FFFFFF | 12.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#003084
Tritanopia (blue-blind)
#093A50
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #361b86; /* rgb */ color: rgb(54, 27, 134); /* oklch */ color: oklch(33.9% 0.164 285.2);
Tailwind
colors: {
custom: {
50: '#785baa',
500: '#361b86',
950: '#000000',
},
}SCSS
$custom: #361b86; $custom-light: #785baa; $custom-dark: #000000;
JSON
{
"hex": "#361b86",
"rgb": {
"r": 54,
"g": 27,
"b": 134
},
"hsl": {
"h": 255.14,
"s": 66.46,
"l": 31.569
},
"oklch": {
"l": 0.33894,
"c": 0.16356,
"h": 285.2
},
"luminance": 0.03289
}Semantic roles & 50–950 ramp
primary
#361B86
secondary
#9CB944
accent
#E93EBE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F