#361C7F#361C7F
#361C7F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.154 H 286.7°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).
Color values
| HEX | #361C7F |
|---|---|
| RGB | rgb(54, 28, 127) |
| HSL | hsl(256, 64%, 30%) |
| HSV | hsv(256, 78%, 50%) |
| CMYK | cmyk(57.5%, 78%, 0%, 50.2%) |
| CIE-LAB | lab(20.62, 38.61, -51.26) |
| CIE-LCH | lch(20.62, 64.17, 306.99°) |
| OKLab | oklab(33.3% 0.0442 -0.1475) |
| OKLCH | oklch(33.3% 0.154 286.7) |
| XYZ | xyz(5.7662, 3.1468, 20.3781) |
| Luminance | 0.0315 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.96
Midnight Blue
#191970
ΔE00 4.47
Royal
#0C1793
ΔE00 5.00
Indigo
#4B0082
ΔE00 5.20
Darkblue
#00008B
ΔE00 6.35
Navy
#000080
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#361C7F #657F1C
analogous
#1C337F #361C7F #681C7F
triadic
#361C7F #7F361C #1C7F36
tetradic
#361C7F #7F1C33 #657F1C #1C7F68
square
#361C7F #7F1C33 #657F1C #1C7F68
split-complementary
#361C7F #7F681C #337F1C
monochromatic
#0B061B #21114D #361C7F #4B27B1 #6740D5
Accessibility & contrast
On white
12.89
#361C7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#361C7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #361C7F
12.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##361C7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##361C7F | 1.00 | 12.89 | 1.63 | 12.89 |
| #FFFFFF | 12.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#002F7D
Tritanopia (blue-blind)
#15384C
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #361c7f; /* rgb */ color: rgb(54, 28, 127); /* oklch */ color: oklch(33.3% 0.154 286.7);
Tailwind
colors: {
custom: {
50: '#765ba5',
500: '#361c7f',
950: '#000000',
},
}SCSS
$custom: #361c7f; $custom-light: #765ba5; $custom-dark: #000000;
JSON
{
"hex": "#361c7f",
"rgb": {
"r": 54,
"g": 28,
"b": 127
},
"hsl": {
"h": 255.758,
"s": 63.871,
"l": 30.392
},
"oklch": {
"l": 0.33296,
"c": 0.15401,
"h": 286.7
},
"luminance": 0.03147
}Semantic roles & 50–950 ramp
primary
#361C7F
secondary
#96B344
accent
#E741BB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F