#361C8A#361C8A
#361C8A is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.4% C 0.167 H 284.2°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).
Color values
| HEX | #361C8A |
|---|---|
| RGB | rgb(54, 28, 138) |
| HSL | hsl(254, 66%, 33%) |
| HSV | hsv(254, 80%, 54%) |
| CMYK | cmyk(60.9%, 79.7%, 0%, 45.9%) |
| CIE-LAB | lab(21.76, 41.95, -56.31) |
| CIE-LCH | lch(21.76, 70.22, 306.68°) |
| OKLab | oklab(34.44% 0.041 -0.1623) |
| OKLCH | oklch(34.44% 0.167 284.2) |
| XYZ | xyz(6.5226, 3.4493, 24.3619) |
| Luminance | 0.0345 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 3.98
Indigo (survey)
#380282
ΔE00 3.99
Indigo
#4B0082
ΔE00 5.33
Midnight Blue
#191970
ΔE00 5.41
Indigo Blue
#3A18B1
ΔE00 5.49
Cobalt Blue
#030AA7
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#361C8A #708A1C
analogous
#1C398A #361C8A #6D1C8A
triadic
#361C8A #8A361C #1C8A36
tetradic
#361C8A #8A1C39 #708A1C #1C8A6D
square
#361C8A #8A1C39 #708A1C #1C8A6D
split-complementary
#361C8A #8A6D1C #398A1C
monochromatic
#0E0724 #221257 #361C8A #4A26BD #6947DA
Accessibility & contrast
On white
12.43
#361C8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#361C8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #361C8A
12.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##361C8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##361C8A | 1.00 | 12.43 | 1.69 | 12.43 |
| #FFFFFF | 12.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00378D
Deuteranopia (green-blind)
#003188
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #361c8a; /* rgb */ color: rgb(54, 28, 138); /* oklch */ color: oklch(34.4% 0.167 284.2);
Tailwind
colors: {
custom: {
50: '#785cad',
500: '#361c8a',
950: '#000000',
},
}SCSS
$custom: #361c8a; $custom-light: #785cad; $custom-dark: #000000;
JSON
{
"hex": "#361c8a",
"rgb": {
"r": 54,
"g": 28,
"b": 138
},
"hsl": {
"h": 254.182,
"s": 66.265,
"l": 32.549
},
"oklch": {
"l": 0.34435,
"c": 0.1674,
"h": 284.2
},
"luminance": 0.0345
}Semantic roles & 50–950 ramp
primary
#361C8A
secondary
#A0BB46
accent
#E93FC1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F