#361B7F#361B7F
#361B7F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.155 H 286.9°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).
Color values
| HEX | #361B7F |
|---|---|
| RGB | rgb(54, 27, 127) |
| HSL | hsl(256, 65%, 30%) |
| HSV | hsv(256, 79%, 50%) |
| CMYK | cmyk(57.5%, 78.7%, 0%, 50.2%) |
| CIE-LAB | lab(20.44, 39.13, -51.56) |
| CIE-LCH | lch(20.44, 64.73, 307.20°) |
| OKLab | oklab(33.17% 0.045 -0.1484) |
| OKLCH | oklch(33.17% 0.155 286.9) |
| XYZ | xyz(5.7429, 3.1001, 20.3703) |
| Luminance | 0.0310 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.74
Midnight Blue
#191970
ΔE00 4.50
Royal
#0C1793
ΔE00 4.97
Indigo
#4B0082
ΔE00 5.03
Darkblue
#00008B
ΔE00 6.21
Navy
#000080
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#361B7F #647F1B
analogous
#1B327F #361B7F #681B7F
triadic
#361B7F #7F361B #1B7F36
tetradic
#361B7F #7F1B32 #647F1B #1B7F68
square
#361B7F #7F1B32 #647F1B #1B7F68
split-complementary
#361B7F #7F681B #327F1B
monochromatic
#0B061A #21104D #361B7F #4B26B1 #673ED6
Accessibility & contrast
On white
12.96
#361B7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#361B7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #361B7F
12.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##361B7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##361B7F | 1.00 | 12.96 | 1.62 | 12.96 |
| #FFFFFF | 12.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#002E7D
Tritanopia (blue-blind)
#15374C
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #361b7f; /* rgb */ color: rgb(54, 27, 127); /* oklch */ color: oklch(33.2% 0.155 286.9);
Tailwind
colors: {
custom: {
50: '#765ba5',
500: '#361b7f',
950: '#000000',
},
}SCSS
$custom: #361b7f; $custom-light: #765ba5; $custom-dark: #000000;
JSON
{
"hex": "#361b7f",
"rgb": {
"r": 54,
"g": 27,
"b": 127
},
"hsl": {
"h": 256.2,
"s": 64.935,
"l": 30.196
},
"oklch": {
"l": 0.33168,
"c": 0.15507,
"h": 286.9
},
"luminance": 0.031
}Semantic roles & 50–950 ramp
primary
#361B7F
secondary
#95B343
accent
#E840BB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F