#361F8A#361F8A
#361F8A is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.164 H 283.7°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).
Color values
| HEX | #361F8A |
|---|---|
| RGB | rgb(54, 31, 138) |
| HSL | hsl(253, 63%, 33%) |
| HSV | hsv(253, 78%, 54%) |
| CMYK | cmyk(60.9%, 77.5%, 0%, 45.9%) |
| CIE-LAB | lab(22.30, 40.41, -55.43) |
| CIE-LCH | lch(22.30, 68.59, 306.09°) |
| OKLab | oklab(34.81% 0.0389 -0.1597) |
| OKLCH | oklch(34.81% 0.164 283.7) |
| XYZ | xyz(6.5973, 3.5988, 24.3868) |
| Luminance | 0.0360 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 4.13
Indigo (survey)
#380282
ΔE00 4.61
Midnight Blue
#191970
ΔE00 5.38
Indigo Blue
#3A18B1
ΔE00 5.59
Indigo
#4B0082
ΔE00 5.82
Cobalt Blue
#030AA7
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#361F8A #738A1F
analogous
#1F3D8A #361F8A #6B1F8A
triadic
#361F8A #8A361F #1F8A36
tetradic
#361F8A #8A1F3D #738A1F #1F8A6B
square
#361F8A #8A1F3D #738A1F #1F8A6B
split-complementary
#361F8A #8A6B1F #3D8A1F
monochromatic
#0F0926 #221458 #361F8A #4A2ABC #6A4CD7
Accessibility & contrast
On white
12.21
#361F8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#361F8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #361F8A
12.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##361F8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##361F8A | 1.00 | 12.21 | 1.72 | 12.21 |
| #FFFFFF | 12.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00388D
Deuteranopia (green-blind)
#003288
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #361f8a; /* rgb */ color: rgb(54, 31, 138); /* oklch */ color: oklch(34.8% 0.164 283.7);
Tailwind
colors: {
custom: {
50: '#785ead',
500: '#361f8a',
950: '#000000',
},
}SCSS
$custom: #361f8a; $custom-light: #785ead; $custom-dark: #000000;
JSON
{
"hex": "#361f8a",
"rgb": {
"r": 54,
"g": 31,
"b": 138
},
"hsl": {
"h": 252.897,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.34811,
"c": 0.16441,
"h": 283.7
},
"luminance": 0.03599
}Semantic roles & 50–950 ramp
primary
#361F8A
secondary
#A2BA4B
accent
#E641C3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F