#361F84#361F84
#361F84 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.157 H 285.0°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).
Color values
| HEX | #361F84 |
|---|---|
| RGB | rgb(54, 31, 132) |
| HSL | hsl(254, 62%, 32%) |
| HSV | hsv(254, 77%, 52%) |
| CMYK | cmyk(59.1%, 76.5%, 0%, 48.2%) |
| CIE-LAB | lab(21.69, 38.55, -52.67) |
| CIE-LCH | lch(21.69, 65.27, 306.20°) |
| OKLab | oklab(34.2% 0.0405 -0.1517) |
| OKLCH | oklch(34.2% 0.157 285) |
| XYZ | xyz(6.1749, 3.4298, 22.1620) |
| Luminance | 0.0343 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.54
Royal
#0C1793
ΔE00 4.62
Midnight Blue
#191970
ΔE00 4.81
Indigo
#4B0082
ΔE00 5.72
Indigo Blue
#3A18B1
ΔE00 6.51
Darkblue
#00008B
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#361F84 #6D841F
analogous
#1F3B84 #361F84 #691F84
triadic
#361F84 #84361F #1F8436
tetradic
#361F84 #841F3B #6D841F #1F8469
square
#361F84 #841F3B #6D841F #1F8469
split-complementary
#361F84 #84691F #3B841F
monochromatic
#0D0821 #221352 #361F84 #4A2BB6 #6949D4
Accessibility & contrast
On white
12.46
#361F84 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#361F84 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #361F84
12.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##361F84 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##361F84 | 1.00 | 12.46 | 1.69 | 12.46 |
| #FFFFFF | 12.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003787
Deuteranopia (green-blind)
#003182
Tritanopia (blue-blind)
#0D3B50
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #361f84; /* rgb */ color: rgb(54, 31, 132); /* oklch */ color: oklch(34.2% 0.157 285.0);
Tailwind
colors: {
custom: {
50: '#775da9',
500: '#361f84',
950: '#000000',
},
}SCSS
$custom: #361f84; $custom-light: #775da9; $custom-dark: #000000;
JSON
{
"hex": "#361f84",
"rgb": {
"r": 54,
"g": 31,
"b": 132
},
"hsl": {
"h": 253.663,
"s": 61.963,
"l": 31.961
},
"oklch": {
"l": 0.34199,
"c": 0.15699,
"h": 285
},
"luminance": 0.0343
}Semantic roles & 50–950 ramp
primary
#361F84
secondary
#9DB748
accent
#E543C0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F