#361A8B#361A8B
#361A8B is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.170 H 284.3°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).
Color values
| HEX | #361A8B |
|---|---|
| RGB | rgb(54, 26, 139) |
| HSL | hsl(255, 68%, 32%) |
| HSV | hsv(255, 81%, 55%) |
| CMYK | cmyk(61.2%, 81.3%, 0%, 45.5%) |
| CIE-LAB | lab(21.53, 43.22, -57.32) |
| CIE-LCH | lch(21.53, 71.79, 307.02°) |
| OKLab | oklab(34.31% 0.042 -0.1652) |
| OKLCH | oklch(34.31% 0.17 284.3) |
| XYZ | xyz(6.5495, 3.3867, 24.7297) |
| Luminance | 0.0339 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.66
Royal
#0C1793
ΔE00 3.87
Indigo
#4B0082
ΔE00 5.09
Cobalt Blue
#030AA7
ΔE00 5.29
Indigo Blue
#3A18B1
ΔE00 5.32
Midnight Blue
#191970
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#361A8B #6F8B1A
analogous
#1A378B #361A8B #6E1A8B
triadic
#361A8B #8B361A #1A8B36
tetradic
#361A8B #8B1A37 #6F8B1A #1A8B6E
square
#361A8B #8B1A37 #6F8B1A #1A8B6E
split-complementary
#361A8B #8B6E1A #378B1A
monochromatic
#0E0724 #221057 #361A8B #4A24BF #6943DC
Accessibility & contrast
On white
12.52
#361A8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#361A8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #361A8B
12.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##361A8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##361A8B | 1.00 | 12.52 | 1.68 | 12.52 |
| #FFFFFF | 12.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00378E
Deuteranopia (green-blind)
#003089
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #361a8b; /* rgb */ color: rgb(54, 26, 139); /* oklch */ color: oklch(34.3% 0.170 284.3);
Tailwind
colors: {
custom: {
50: '#795bae',
500: '#361a8b',
950: '#000000',
},
}SCSS
$custom: #361a8b; $custom-light: #795bae; $custom-dark: #000000;
JSON
{
"hex": "#361a8b",
"rgb": {
"r": 54,
"g": 26,
"b": 139
},
"hsl": {
"h": 254.867,
"s": 68.485,
"l": 32.353
},
"oklch": {
"l": 0.34307,
"c": 0.17046,
"h": 284.3
},
"luminance": 0.03387
}Semantic roles & 50–950 ramp
primary
#361A8B
secondary
#9FBD44
accent
#EB3CC0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F