#361B85#361B85
#361B85 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.8% C 0.162 H 285.4°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).
Color values
| HEX | #361B85 |
|---|---|
| RGB | rgb(54, 27, 133) |
| HSL | hsl(255, 66%, 31%) |
| HSV | hsv(255, 80%, 52%) |
| CMYK | cmyk(59.4%, 79.7%, 0%, 47.8%) |
| CIE-LAB | lab(21.06, 40.94, -54.33) |
| CIE-LCH | lch(21.06, 68.03, 307.00°) |
| OKLab | oklab(33.79% 0.0432 -0.1565) |
| OKLCH | oklch(33.79% 0.162 285.4) |
| XYZ | xyz(6.1456, 3.2612, 22.4914) |
| Luminance | 0.0326 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.67
Royal
#0C1793
ΔE00 4.34
Midnight Blue
#191970
ΔE00 4.95
Indigo
#4B0082
ΔE00 5.05
Darkblue
#00008B
ΔE00 5.86
Cobalt Blue
#030AA7
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#361B85 #6A851B
analogous
#1B3585 #361B85 #6B1B85
triadic
#361B85 #85361B #1B8536
tetradic
#361B85 #851B35 #6A851B #1B856B
square
#361B85 #851B35 #6A851B #1B856B
split-complementary
#361B85 #856B1B #35851B
monochromatic
#0D061F #211152 #361B85 #4B25B8 #6842D9
Accessibility & contrast
On white
12.71
#361B85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#361B85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #361B85
12.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##361B85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##361B85 | 1.00 | 12.71 | 1.65 | 12.71 |
| #FFFFFF | 12.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003588
Deuteranopia (green-blind)
#002F83
Tritanopia (blue-blind)
#0C3A4F
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #361b85; /* rgb */ color: rgb(54, 27, 133); /* oklch */ color: oklch(33.8% 0.162 285.4);
Tailwind
colors: {
custom: {
50: '#775baa',
500: '#361b85',
950: '#000000',
},
}SCSS
$custom: #361b85; $custom-light: #775baa; $custom-dark: #000000;
JSON
{
"hex": "#361b85",
"rgb": {
"r": 54,
"g": 27,
"b": 133
},
"hsl": {
"h": 255.283,
"s": 66.25,
"l": 31.373
},
"oklch": {
"l": 0.33789,
"c": 0.16235,
"h": 285.4
},
"luminance": 0.03262
}Semantic roles & 50–950 ramp
primary
#361B85
secondary
#9BB844
accent
#E93FBE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F