#361E7E#361E7E
#361E7E is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.151 H 286.5°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).
Color values
| HEX | #361E7E |
|---|---|
| RGB | rgb(54, 30, 126) |
| HSL | hsl(255, 62%, 31%) |
| HSV | hsv(255, 76%, 49%) |
| CMYK | cmyk(57.1%, 76.2%, 0%, 50.6%) |
| CIE-LAB | lab(20.90, 37.23, -50.17) |
| CIE-LCH | lch(20.90, 62.48, 306.58°) |
| OKLab | oklab(33.46% 0.0429 -0.1444) |
| OKLCH | oklch(33.46% 0.151 286.5) |
| XYZ | xyz(5.7504, 3.2189, 20.0529) |
| Luminance | 0.0322 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 4.38
Indigo (survey)
#380282
ΔE00 4.46
Royal
#0C1793
ΔE00 5.22
Indigo
#4B0082
ΔE00 5.58
Darkblue
#00008B
ΔE00 6.75
Dark Royal Blue
#02066F
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#361E7E #667E1E
analogous
#1E367E #361E7E #661E7E
triadic
#361E7E #7E361E #1E7E36
tetradic
#361E7E #7E1E36 #667E1E #1E7E66
square
#361E7E #7E1E36 #667E1E #1E7E66
split-complementary
#361E7E #7E661E #367E1E
monochromatic
#0C061B #21124D #361E7E #4B2AAF #6844D2
Accessibility & contrast
On white
12.78
#361E7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#361E7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #361E7E
12.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##361E7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##361E7E | 1.00 | 12.78 | 1.64 | 12.78 |
| #FFFFFF | 12.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#002F7C
Tritanopia (blue-blind)
#16384C
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #361e7e; /* rgb */ color: rgb(54, 30, 126); /* oklch */ color: oklch(33.5% 0.151 286.5);
Tailwind
colors: {
custom: {
50: '#765da4',
500: '#361e7e',
950: '#000000',
},
}SCSS
$custom: #361e7e; $custom-light: #765da4; $custom-dark: #000000;
JSON
{
"hex": "#361e7e",
"rgb": {
"r": 54,
"g": 30,
"b": 126
},
"hsl": {
"h": 255,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.33461,
"c": 0.15059,
"h": 286.5
},
"luminance": 0.03219
}Semantic roles & 50–950 ramp
primary
#361E7E
secondary
#97B147
accent
#E543BC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F