#361E7D#361E7D
#361E7D is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.4% C 0.149 H 286.8°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).
Color values
| HEX | #361E7D |
|---|---|
| RGB | rgb(54, 30, 125) |
| HSL | hsl(255, 61%, 30%) |
| HSV | hsv(255, 76%, 49%) |
| CMYK | cmyk(56.8%, 76%, 0%, 51%) |
| CIE-LAB | lab(20.80, 36.93, -49.70) |
| CIE-LCH | lch(20.80, 61.91, 306.61°) |
| OKLab | oklab(33.36% 0.0431 -0.143) |
| OKLCH | oklch(33.36% 0.149 286.8) |
| XYZ | xyz(5.6862, 3.1932, 19.7148) |
| Luminance | 0.0319 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 4.33
Indigo (survey)
#380282
ΔE00 4.51
Royal
#0C1793
ΔE00 5.35
Indigo
#4B0082
ΔE00 5.61
Dark Royal Blue
#02066F
ΔE00 6.79
Darkblue
#00008B
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#361E7D #657D1E
analogous
#1E357D #361E7D #651E7D
triadic
#361E7D #7D361E #1E7D36
tetradic
#361E7D #7D1E35 #657D1E #1E7D65
square
#361E7D #7D1E35 #657D1E #1E7D65
split-complementary
#361E7D #7D651E #357D1E
monochromatic
#0B061A #21124C #361E7D #4B2AAE #6743D2
Accessibility & contrast
On white
12.82
#361E7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#361E7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #361E7D
12.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##361E7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##361E7D | 1.00 | 12.82 | 1.64 | 12.82 |
| #FFFFFF | 12.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003480
Deuteranopia (green-blind)
#002F7B
Tritanopia (blue-blind)
#17384C
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #361e7d; /* rgb */ color: rgb(54, 30, 125); /* oklch */ color: oklch(33.4% 0.149 286.8);
Tailwind
colors: {
custom: {
50: '#765ca4',
500: '#361e7d',
950: '#000000',
},
}SCSS
$custom: #361e7d; $custom-light: #765ca4; $custom-dark: #000000;
JSON
{
"hex": "#361e7d",
"rgb": {
"r": 54,
"g": 30,
"b": 125
},
"hsl": {
"h": 255.158,
"s": 61.29,
"l": 30.392
},
"oklch": {
"l": 0.33361,
"c": 0.14933,
"h": 286.8
},
"luminance": 0.03193
}Semantic roles & 50–950 ramp
primary
#361E7D
secondary
#96B046
accent
#E443BC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F