#361B8A#361B8A
#361B8A is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.168 H 284.3°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).
Color values
| HEX | #361B8A |
|---|---|
| RGB | rgb(54, 27, 138) |
| HSL | hsl(255, 67%, 32%) |
| HSV | hsv(255, 80%, 54%) |
| CMYK | cmyk(60.9%, 80.4%, 0%, 45.9%) |
| CIE-LAB | lab(21.59, 42.44, -56.59) |
| CIE-LCH | lch(21.59, 70.74, 306.87°) |
| OKLab | oklab(34.32% 0.0417 -0.1631) |
| OKLCH | oklch(34.32% 0.168 284.3) |
| XYZ | xyz(6.4993, 3.4027, 24.3541) |
| Luminance | 0.0340 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.80
Royal
#0C1793
ΔE00 3.95
Indigo
#4B0082
ΔE00 5.18
Midnight Blue
#191970
ΔE00 5.43
Indigo Blue
#3A18B1
ΔE00 5.48
Cobalt Blue
#030AA7
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#361B8A #6F8A1B
analogous
#1B378A #361B8A #6E1B8A
triadic
#361B8A #8A361B #1B8A36
tetradic
#361B8A #8A1B37 #6F8A1B #1B8A6E
square
#361B8A #8A1B37 #6F8A1B #1B8A6E
split-complementary
#361B8A #8A6E1B #378A1B
monochromatic
#0E0724 #221157 #361B8A #4A25BD #6945DB
Accessibility & contrast
On white
12.50
#361B8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#361B8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #361B8A
12.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##361B8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##361B8A | 1.00 | 12.50 | 1.68 | 12.50 |
| #FFFFFF | 12.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00378D
Deuteranopia (green-blind)
#003088
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #361b8a; /* rgb */ color: rgb(54, 27, 138); /* oklch */ color: oklch(34.3% 0.168 284.3);
Tailwind
colors: {
custom: {
50: '#785cad',
500: '#361b8a',
950: '#000000',
},
}SCSS
$custom: #361b8a; $custom-light: #785cad; $custom-dark: #000000;
JSON
{
"hex": "#361b8a",
"rgb": {
"r": 54,
"g": 27,
"b": 138
},
"hsl": {
"h": 254.595,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.34316,
"c": 0.16835,
"h": 284.3
},
"luminance": 0.03403
}Semantic roles & 50–950 ramp
primary
#361B8A
secondary
#9FBC45
accent
#EA3EC0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F