#361986#361986
#361986 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.7% C 0.165 H 285.5°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).
Color values
| HEX | #361986 |
|---|---|
| RGB | rgb(54, 25, 134) |
| HSL | hsl(256, 69%, 31%) |
| HSV | hsv(256, 81%, 53%) |
| CMYK | cmyk(59.7%, 81.3%, 0%, 47.5%) |
| CIE-LAB | lab(20.83, 42.21, -55.34) |
| CIE-LCH | lch(20.83, 69.60, 307.33°) |
| OKLab | oklab(33.66% 0.0443 -0.1594) |
| OKLCH | oklch(33.66% 0.165 285.5) |
| XYZ | xyz(6.1707, 3.2004, 22.8422) |
| Luminance | 0.0320 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.28
Royal
#0C1793
ΔE00 4.22
Indigo
#4B0082
ΔE00 4.78
Midnight Blue
#191970
ΔE00 5.12
Darkblue
#00008B
ΔE00 5.56
Cobalt Blue
#030AA7
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#361986 #698619
analogous
#193286 #361986 #6C1986
triadic
#361986 #863619 #198636
tetradic
#361986 #861932 #698619 #19866C
square
#361986 #861932 #698619 #19866C
split-complementary
#361986 #866C19 #328619
monochromatic
#0C061F #210F52 #361986 #4B23BA #683EDB
Accessibility & contrast
On white
12.80
#361986 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#361986 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #361986
12.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##361986 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##361986 | 1.00 | 12.80 | 1.64 | 12.80 |
| #FFFFFF | 12.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003589
Deuteranopia (green-blind)
#002F84
Tritanopia (blue-blind)
#0A3950
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #361986; /* rgb */ color: rgb(54, 25, 134); /* oklch */ color: oklch(33.7% 0.165 285.5);
Tailwind
colors: {
custom: {
50: '#785aaa',
500: '#361986',
950: '#000000',
},
}SCSS
$custom: #361986; $custom-light: #785aaa; $custom-dark: #000000;
JSON
{
"hex": "#361986",
"rgb": {
"r": 54,
"g": 25,
"b": 134
},
"hsl": {
"h": 255.963,
"s": 68.553,
"l": 31.176
},
"oklch": {
"l": 0.33659,
"c": 0.16546,
"h": 285.5
},
"luminance": 0.03201
}Semantic roles & 50–950 ramp
primary
#361986
secondary
#9ABA41
accent
#EB3CBD
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F