#361E8E#361E8E
#361E8E is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.170 H 283.1°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).
Color values
| HEX | #361E8E |
|---|---|
| RGB | rgb(54, 30, 142) |
| HSL | hsl(253, 65%, 34%) |
| HSV | hsv(253, 79%, 56%) |
| CMYK | cmyk(62%, 78.9%, 0%, 44.3%) |
| CIE-LAB | lab(22.53, 42.15, -57.54) |
| CIE-LCH | lch(22.53, 71.33, 306.23°) |
| OKLab | oklab(35.1% 0.0385 -0.1659) |
| OKLCH | oklch(35.1% 0.17 283.1) |
| XYZ | xyz(6.8666, 3.6653, 25.9316) |
| Luminance | 0.0367 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 3.86
Indigo (survey)
#380282
ΔE00 4.56
Indigo Blue
#3A18B1
ΔE00 4.95
Cobalt Blue
#030AA7
ΔE00 5.34
Royal Blue (survey)
#0504AA
ΔE00 5.74
Indigo
#4B0082
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#361E8E #768E1E
analogous
#1E3E8E #361E8E #6E1E8E
triadic
#361E8E #8E361E #1E8E36
tetradic
#361E8E #8E1E3E #768E1E #1E8E6E
square
#361E8E #8E1E3E #768E1E #1E8E6E
split-complementary
#361E8E #8E6E1E #3E8E1E
monochromatic
#100929 #23135B #361E8E #4929C1 #6B4DD9
Accessibility & contrast
On white
12.12
#361E8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#361E8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #361E8E
12.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##361E8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##361E8E | 1.00 | 12.12 | 1.73 | 12.12 |
| #FFFFFF | 12.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003991
Deuteranopia (green-blind)
#00328C
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #361e8e; /* rgb */ color: rgb(54, 30, 142); /* oklch */ color: oklch(35.1% 0.170 283.1);
Tailwind
colors: {
custom: {
50: '#795db0',
500: '#361e8e',
950: '#000000',
},
}SCSS
$custom: #361e8e; $custom-light: #795db0; $custom-dark: #000000;
JSON
{
"hex": "#361e8e",
"rgb": {
"r": 54,
"g": 30,
"b": 142
},
"hsl": {
"h": 252.857,
"s": 65.116,
"l": 33.725
},
"oklch": {
"l": 0.35101,
"c": 0.17029,
"h": 283.1
},
"luminance": 0.03666
}Semantic roles & 50–950 ramp
primary
#361E8E
secondary
#A4BC4C
accent
#E840C4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980