#361C86#361C86
#361C86 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.163 H 285.0°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).
Color values
| HEX | #361C86 |
|---|---|
| RGB | rgb(54, 28, 134) |
| HSL | hsl(255, 65%, 32%) |
| HSV | hsv(255, 79%, 53%) |
| CMYK | cmyk(59.7%, 79.1%, 0%, 47.5%) |
| CIE-LAB | lab(21.34, 40.74, -54.50) |
| CIE-LCH | lch(21.34, 68.04, 306.78°) |
| OKLab | oklab(34.02% 0.0422 -0.157) |
| OKLCH | oklch(34.02% 0.163 285) |
| XYZ | xyz(6.2383, 3.3356, 22.8647) |
| Luminance | 0.0334 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.89
Royal
#0C1793
ΔE00 4.28
Midnight Blue
#191970
ΔE00 5.02
Indigo
#4B0082
ΔE00 5.22
Darkblue
#00008B
ΔE00 5.97
Cobalt Blue
#030AA7
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#361C86 #6C861C
analogous
#1C3786 #361C86 #6B1C86
triadic
#361C86 #86361C #1C8636
tetradic
#361C86 #861C37 #6C861C #1C866B
square
#361C86 #861C37 #6C861C #1C866B
split-complementary
#361C86 #866B1C #37861C
monochromatic
#0D0721 #221153 #361C86 #4A27B9 #6944D8
Accessibility & contrast
On white
12.60
#361C86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#361C86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #361C86
12.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##361C86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##361C86 | 1.00 | 12.60 | 1.67 | 12.60 |
| #FFFFFF | 12.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#003084
Tritanopia (blue-blind)
#093B50
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #361c86; /* rgb */ color: rgb(54, 28, 134); /* oklch */ color: oklch(34.0% 0.163 285.0);
Tailwind
colors: {
custom: {
50: '#785caa',
500: '#361c86',
950: '#000000',
},
}SCSS
$custom: #361c86; $custom-light: #785caa; $custom-dark: #000000;
JSON
{
"hex": "#361c86",
"rgb": {
"r": 54,
"g": 28,
"b": 134
},
"hsl": {
"h": 254.717,
"s": 65.432,
"l": 31.765
},
"oklch": {
"l": 0.34016,
"c": 0.16257,
"h": 285
},
"luminance": 0.03336
}Semantic roles & 50–950 ramp
primary
#361C86
secondary
#9DB945
accent
#E83FBF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F