#361B8B#361B8B
#361B8B is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.170 H 284.1°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).
Color values
| HEX | #361B8B |
|---|---|
| RGB | rgb(54, 27, 139) |
| HSL | hsl(254, 67%, 33%) |
| HSV | hsv(254, 81%, 55%) |
| CMYK | cmyk(61.2%, 80.6%, 0%, 45.5%) |
| CIE-LAB | lab(21.70, 42.74, -57.04) |
| CIE-LCH | lch(21.70, 71.28, 306.84°) |
| OKLab | oklab(34.42% 0.0414 -0.1644) |
| OKLCH | oklch(34.42% 0.17 284.1) |
| XYZ | xyz(6.5720, 3.4318, 24.7372) |
| Luminance | 0.0343 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.84
Royal
#0C1793
ΔE00 3.89
Indigo
#4B0082
ΔE00 5.22
Indigo Blue
#3A18B1
ΔE00 5.33
Cobalt Blue
#030AA7
ΔE00 5.37
Midnight Blue
#191970
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#361B8B #708B1B
analogous
#1B388B #361B8B #6E1B8B
triadic
#361B8B #8B361B #1B8B36
tetradic
#361B8B #8B1B38 #708B1B #1B8B6E
square
#361B8B #8B1B38 #708B1B #1B8B6E
split-complementary
#361B8B #8B6E1B #388B1B
monochromatic
#0E0725 #221158 #361B8B #4A25BE #6945DB
Accessibility & contrast
On white
12.45
#361B8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#361B8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #361B8B
12.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##361B8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##361B8B | 1.00 | 12.45 | 1.69 | 12.45 |
| #FFFFFF | 12.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00378E
Deuteranopia (green-blind)
#003089
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #361b8b; /* rgb */ color: rgb(54, 27, 139); /* oklch */ color: oklch(34.4% 0.170 284.1);
Tailwind
colors: {
custom: {
50: '#795cae',
500: '#361b8b',
950: '#000000',
},
}SCSS
$custom: #361b8b; $custom-light: #795cae; $custom-dark: #000000;
JSON
{
"hex": "#361b8b",
"rgb": {
"r": 54,
"g": 27,
"b": 139
},
"hsl": {
"h": 254.464,
"s": 67.47,
"l": 32.549
},
"oklch": {
"l": 0.34422,
"c": 0.16954,
"h": 284.1
},
"luminance": 0.03432
}Semantic roles & 50–950 ramp
primary
#361B8B
secondary
#A0BC45
accent
#EA3DC1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F