#361E8A#361E8A
#361E8A is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.165 H 283.9°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).
Color values
| HEX | #361E8A |
|---|---|
| RGB | rgb(54, 30, 138) |
| HSL | hsl(253, 64%, 33%) |
| HSV | hsv(253, 78%, 54%) |
| CMYK | cmyk(60.9%, 78.3%, 0%, 45.9%) |
| CIE-LAB | lab(22.11, 40.93, -55.73) |
| CIE-LCH | lch(22.11, 69.14, 306.29°) |
| OKLab | oklab(34.68% 0.0396 -0.1606) |
| OKLCH | oklch(34.68% 0.165 283.9) |
| XYZ | xyz(6.5716, 3.5474, 24.3782) |
| Luminance | 0.0355 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 4.07
Indigo (survey)
#380282
ΔE00 4.40
Midnight Blue
#191970
ΔE00 5.38
Indigo Blue
#3A18B1
ΔE00 5.55
Indigo
#4B0082
ΔE00 5.65
Cobalt Blue
#030AA7
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#361E8A #728A1E
analogous
#1E3C8A #361E8A #6C1E8A
triadic
#361E8A #8A361E #1E8A36
tetradic
#361E8A #8A1E3C #728A1E #1E8A6C
square
#361E8A #8A1E3C #728A1E #1E8A6C
split-complementary
#361E8A #8A6C1E #3C8A1E
monochromatic
#0F0825 #221358 #361E8A #4A29BC #6A4BD8
Accessibility & contrast
On white
12.28
#361E8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#361E8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #361E8A
12.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##361E8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##361E8A | 1.00 | 12.28 | 1.71 | 12.28 |
| #FFFFFF | 12.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00388D
Deuteranopia (green-blind)
#003188
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #361e8a; /* rgb */ color: rgb(54, 30, 138); /* oklch */ color: oklch(34.7% 0.165 283.9);
Tailwind
colors: {
custom: {
50: '#785dad',
500: '#361e8a',
950: '#000000',
},
}SCSS
$custom: #361e8a; $custom-light: #785dad; $custom-dark: #000000;
JSON
{
"hex": "#361e8a",
"rgb": {
"r": 54,
"g": 30,
"b": 138
},
"hsl": {
"h": 253.333,
"s": 64.286,
"l": 32.941
},
"oklch": {
"l": 0.34683,
"c": 0.16543,
"h": 283.9
},
"luminance": 0.03548
}Semantic roles & 50–950 ramp
primary
#361E8A
secondary
#A1BA4A
accent
#E741C2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F