#361A8A#361A8A
#361A8A is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.169 H 284.5°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).
Color values
| HEX | #361A8A |
|---|---|
| RGB | rgb(54, 26, 138) |
| HSL | hsl(255, 68%, 32%) |
| HSV | hsv(255, 81%, 54%) |
| CMYK | cmyk(60.9%, 81.2%, 0%, 45.9%) |
| CIE-LAB | lab(21.42, 42.92, -56.87) |
| CIE-LCH | lch(21.42, 71.25, 307.04°) |
| OKLab | oklab(34.2% 0.0423 -0.1639) |
| OKLCH | oklch(34.2% 0.169 284.5) |
| XYZ | xyz(6.4768, 3.3576, 24.3466) |
| Luminance | 0.0336 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.61
Royal
#0C1793
ΔE00 3.93
Indigo
#4B0082
ΔE00 5.05
Cobalt Blue
#030AA7
ΔE00 5.41
Midnight Blue
#191970
ΔE00 5.46
Indigo Blue
#3A18B1
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#361A8A #6E8A1A
analogous
#1A368A #361A8A #6E1A8A
triadic
#361A8A #8A361A #1A8A36
tetradic
#361A8A #8A1A36 #6E8A1A #1A8A6E
square
#361A8A #8A1A36 #6E8A1A #1A8A6E
split-complementary
#361A8A #8A6E1A #368A1A
monochromatic
#0E0723 #221057 #361A8A #4A24BD #6943DC
Accessibility & contrast
On white
12.56
#361A8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#361A8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #361A8A
12.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##361A8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##361A8A | 1.00 | 12.56 | 1.67 | 12.56 |
| #FFFFFF | 12.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00378D
Deuteranopia (green-blind)
#003088
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #361a8a; /* rgb */ color: rgb(54, 26, 138); /* oklch */ color: oklch(34.2% 0.169 284.5);
Tailwind
colors: {
custom: {
50: '#785bad',
500: '#361a8a',
950: '#000000',
},
}SCSS
$custom: #361a8a; $custom-light: #785bad; $custom-dark: #000000;
JSON
{
"hex": "#361a8a",
"rgb": {
"r": 54,
"g": 26,
"b": 138
},
"hsl": {
"h": 255,
"s": 68.293,
"l": 32.157
},
"oklch": {
"l": 0.342,
"c": 0.16927,
"h": 284.5
},
"luminance": 0.03358
}Semantic roles & 50–950 ramp
primary
#361A8A
secondary
#9EBD43
accent
#EB3DC0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F