#361C87#361C87
#361C87 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.1% C 0.164 H 284.8°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).
Color values
| HEX | #361C87 |
|---|---|
| RGB | rgb(54, 28, 135) |
| HSL | hsl(255, 66%, 32%) |
| HSV | hsv(255, 79%, 53%) |
| CMYK | cmyk(60%, 79.3%, 0%, 47.1%) |
| CIE-LAB | lab(21.45, 41.04, -54.95) |
| CIE-LCH | lch(21.45, 68.59, 306.75°) |
| OKLab | oklab(34.12% 0.0419 -0.1583) |
| OKLCH | oklch(34.12% 0.164 284.8) |
| XYZ | xyz(6.3084, 3.3637, 23.2338) |
| Luminance | 0.0336 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.90
Royal
#0C1793
ΔE00 4.19
Midnight Blue
#191970
ΔE00 5.11
Indigo
#4B0082
ΔE00 5.24
Cobalt Blue
#030AA7
ΔE00 5.93
Darkblue
#00008B
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#361C87 #6D871C
analogous
#1C3887 #361C87 #6B1C87
triadic
#361C87 #87361C #1C8736
tetradic
#361C87 #871C38 #6D871C #1C876B
square
#361C87 #871C38 #6D871C #1C876B
split-complementary
#361C87 #876B1C #38871C
monochromatic
#0D0722 #221154 #361C87 #4A27BA #6945D8
Accessibility & contrast
On white
12.55
#361C87 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#361C87 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #361C87
12.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##361C87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##361C87 | 1.00 | 12.55 | 1.67 | 12.55 |
| #FFFFFF | 12.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00368A
Deuteranopia (green-blind)
#003085
Tritanopia (blue-blind)
#073B51
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #361c87; /* rgb */ color: rgb(54, 28, 135); /* oklch */ color: oklch(34.1% 0.164 284.8);
Tailwind
colors: {
custom: {
50: '#785cab',
500: '#361c87',
950: '#000000',
},
}SCSS
$custom: #361c87; $custom-light: #785cab; $custom-dark: #000000;
JSON
{
"hex": "#361c87",
"rgb": {
"r": 54,
"g": 28,
"b": 135
},
"hsl": {
"h": 254.579,
"s": 65.644,
"l": 31.961
},
"oklch": {
"l": 0.3412,
"c": 0.16378,
"h": 284.8
},
"luminance": 0.03364
}Semantic roles & 50–950 ramp
primary
#361C87
secondary
#9DBA45
accent
#E93FBF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F