#361B88#361B88
#361B88 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.1% C 0.166 H 284.8°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).
Color values
| HEX | #361B88 |
|---|---|
| RGB | rgb(54, 27, 136) |
| HSL | hsl(255, 67%, 32%) |
| HSV | hsv(255, 80%, 53%) |
| CMYK | cmyk(60.3%, 80.1%, 0%, 46.7%) |
| CIE-LAB | lab(21.38, 41.84, -55.69) |
| CIE-LCH | lch(21.38, 69.66, 306.92°) |
| OKLab | oklab(34.1% 0.0423 -0.1605) |
| OKLCH | oklch(34.1% 0.166 284.8) |
| XYZ | xyz(6.3558, 3.3453, 23.5986) |
| Luminance | 0.0335 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.72
Royal
#0C1793
ΔE00 4.09
Indigo
#4B0082
ΔE00 5.12
Midnight Blue
#191970
ΔE00 5.23
Cobalt Blue
#030AA7
ΔE00 5.72
Darkblue
#00008B
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#361B88 #6D881B
analogous
#1B3788 #361B88 #6C1B88
triadic
#361B88 #88361B #1B8836
tetradic
#361B88 #881B37 #6D881B #1B886C
square
#361B88 #881B37 #6D881B #1B886C
split-complementary
#361B88 #886C1B #37881B
monochromatic
#0D0722 #221155 #361B88 #4A25BB #6944DA
Accessibility & contrast
On white
12.58
#361B88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#361B88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #361B88
12.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##361B88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##361B88 | 1.00 | 12.58 | 1.67 | 12.58 |
| #FFFFFF | 12.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00368B
Deuteranopia (green-blind)
#003086
Tritanopia (blue-blind)
#053B51
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #361b88; /* rgb */ color: rgb(54, 27, 136); /* oklch */ color: oklch(34.1% 0.166 284.8);
Tailwind
colors: {
custom: {
50: '#785bac',
500: '#361b88',
950: '#000000',
},
}SCSS
$custom: #361b88; $custom-light: #785bac; $custom-dark: #000000;
JSON
{
"hex": "#361b88",
"rgb": {
"r": 54,
"g": 27,
"b": 136
},
"hsl": {
"h": 254.862,
"s": 66.871,
"l": 31.961
},
"oklch": {
"l": 0.34104,
"c": 0.16596,
"h": 284.8
},
"luminance": 0.03346
}Semantic roles & 50–950 ramp
primary
#361B88
secondary
#9DBB44
accent
#EA3EBF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F