#361F88#361F88
#361F88 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.162 H 284.1°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).
Color values
| HEX | #361F88 |
|---|---|
| RGB | rgb(54, 31, 136) |
| HSL | hsl(253, 63%, 33%) |
| HSV | hsv(253, 77%, 53%) |
| CMYK | cmyk(60.3%, 77.2%, 0%, 46.7%) |
| CIE-LAB | lab(22.09, 39.79, -54.51) |
| CIE-LCH | lch(22.09, 67.49, 306.13°) |
| OKLab | oklab(34.61% 0.0395 -0.1571) |
| OKLCH | oklch(34.61% 0.162 284.1) |
| XYZ | xyz(6.4539, 3.5414, 23.6313) |
| Luminance | 0.0354 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 4.27
Indigo (survey)
#380282
ΔE00 4.57
Midnight Blue
#191970
ΔE00 5.18
Indigo
#4B0082
ΔE00 5.77
Indigo Blue
#3A18B1
ΔE00 5.89
Cobalt Blue
#030AA7
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#361F88 #71881F
analogous
#1F3C88 #361F88 #6A1F88
triadic
#361F88 #88361F #1F8836
tetradic
#361F88 #881F3C #71881F #1F886A
square
#361F88 #881F3C #71881F #1F886A
split-complementary
#361F88 #886A1F #3C881F
monochromatic
#0E0824 #221456 #361F88 #4A2ABA #6A4BD6
Accessibility & contrast
On white
12.29
#361F88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#361F88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #361F88
12.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##361F88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##361F88 | 1.00 | 12.29 | 1.71 | 12.29 |
| #FFFFFF | 12.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00388B
Deuteranopia (green-blind)
#003186
Tritanopia (blue-blind)
#043D52
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #361f88; /* rgb */ color: rgb(54, 31, 136); /* oklch */ color: oklch(34.6% 0.162 284.1);
Tailwind
colors: {
custom: {
50: '#785eac',
500: '#361f88',
950: '#000000',
},
}SCSS
$custom: #361f88; $custom-light: #785eac; $custom-dark: #000000;
JSON
{
"hex": "#361f88",
"rgb": {
"r": 54,
"g": 31,
"b": 136
},
"hsl": {
"h": 253.143,
"s": 62.874,
"l": 32.745
},
"oklch": {
"l": 0.34606,
"c": 0.16195,
"h": 284.1
},
"luminance": 0.03542
}Semantic roles & 50–950 ramp
primary
#361F88
secondary
#A0B94A
accent
#E642C2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F