#361F85#361F85
#361F85 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.3% C 0.158 H 284.7°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).
Color values
| HEX | #361F85 |
|---|---|
| RGB | rgb(54, 31, 133) |
| HSL | hsl(254, 62%, 32%) |
| HSV | hsv(254, 77%, 52%) |
| CMYK | cmyk(59.4%, 76.7%, 0%, 47.8%) |
| CIE-LAB | lab(21.79, 38.86, -53.13) |
| CIE-LCH | lch(21.79, 65.82, 306.18°) |
| OKLab | oklab(34.3% 0.0402 -0.153) |
| OKLCH | oklch(34.3% 0.158 284.7) |
| XYZ | xyz(6.2437, 3.4573, 22.5241) |
| Luminance | 0.0346 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 4.52
Indigo (survey)
#380282
ΔE00 4.54
Midnight Blue
#191970
ΔE00 4.90
Indigo
#4B0082
ΔE00 5.73
Indigo Blue
#3A18B1
ΔE00 6.35
Cobalt Blue
#030AA7
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#361F85 #6E851F
analogous
#1F3B85 #361F85 #691F85
triadic
#361F85 #85361F #1F8536
tetradic
#361F85 #851F3B #6E851F #1F8569
square
#361F85 #851F3B #6E851F #1F8569
split-complementary
#361F85 #85691F #3B851F
monochromatic
#0E0822 #221353 #361F85 #4A2BB7 #694AD5
Accessibility & contrast
On white
12.41
#361F85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#361F85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #361F85
12.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##361F85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##361F85 | 1.00 | 12.41 | 1.69 | 12.41 |
| #FFFFFF | 12.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#003183
Tritanopia (blue-blind)
#0B3C50
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #361f85; /* rgb */ color: rgb(54, 31, 133); /* oklch */ color: oklch(34.3% 0.158 284.7);
Tailwind
colors: {
custom: {
50: '#775daa',
500: '#361f85',
950: '#000000',
},
}SCSS
$custom: #361f85; $custom-light: #775daa; $custom-dark: #000000;
JSON
{
"hex": "#361f85",
"rgb": {
"r": 54,
"g": 31,
"b": 133
},
"hsl": {
"h": 253.529,
"s": 62.195,
"l": 32.157
},
"oklch": {
"l": 0.343,
"c": 0.15823,
"h": 284.7
},
"luminance": 0.03458
}Semantic roles & 50–950 ramp
primary
#361F85
secondary
#9EB749
accent
#E543C1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F