#361B80#361B80
#361B80 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.156 H 286.6°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).
Color values
| HEX | #361B80 |
|---|---|
| RGB | rgb(54, 27, 128) |
| HSL | hsl(256, 65%, 30%) |
| HSV | hsv(256, 79%, 50%) |
| CMYK | cmyk(57.8%, 78.9%, 0%, 49.8%) |
| CIE-LAB | lab(20.54, 39.43, -52.02) |
| CIE-LCH | lch(20.54, 65.28, 307.16°) |
| OKLab | oklab(33.27% 0.0447 -0.1498) |
| OKLCH | oklch(33.27% 0.156 286.6) |
| XYZ | xyz(5.8084, 3.1263, 20.7153) |
| Luminance | 0.0313 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.71
Midnight Blue
#191970
ΔE00 4.56
Royal
#0C1793
ΔE00 4.85
Indigo
#4B0082
ΔE00 5.02
Darkblue
#00008B
ΔE00 6.14
Navy
#000080
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#361B80 #65801B
analogous
#1B3280 #361B80 #691B80
triadic
#361B80 #80361B #1B8036
tetradic
#361B80 #801B32 #65801B #1B8069
square
#361B80 #801B32 #65801B #1B8069
split-complementary
#361B80 #80691B #32801B
monochromatic
#0B061B #21104D #361B80 #4B26B3 #673FD6
Accessibility & contrast
On white
12.92
#361B80 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#361B80 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #361B80
12.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##361B80 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##361B80 | 1.00 | 12.92 | 1.63 | 12.92 |
| #FFFFFF | 12.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#002F7E
Tritanopia (blue-blind)
#14384D
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #361b80; /* rgb */ color: rgb(54, 27, 128); /* oklch */ color: oklch(33.3% 0.156 286.6);
Tailwind
colors: {
custom: {
50: '#765ba6',
500: '#361b80',
950: '#000000',
},
}SCSS
$custom: #361b80; $custom-light: #765ba6; $custom-dark: #000000;
JSON
{
"hex": "#361b80",
"rgb": {
"r": 54,
"g": 27,
"b": 128
},
"hsl": {
"h": 256.04,
"s": 65.161,
"l": 30.392
},
"oklch": {
"l": 0.33271,
"c": 0.15629,
"h": 286.6
},
"luminance": 0.03127
}Semantic roles & 50–950 ramp
primary
#361B80
secondary
#96B443
accent
#E840BB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F