#361C8C#361C8C
#361C8C is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.170 H 283.8°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).
Color values
| HEX | #361C8C |
|---|---|
| RGB | rgb(54, 28, 140) |
| HSL | hsl(254, 67%, 33%) |
| HSV | hsv(254, 80%, 55%) |
| CMYK | cmyk(61.4%, 80%, 0%, 45.1%) |
| CIE-LAB | lab(21.97, 42.55, -57.21) |
| CIE-LCH | lch(21.97, 71.30, 306.64°) |
| OKLab | oklab(34.65% 0.0404 -0.1649) |
| OKLCH | oklch(34.65% 0.17 283.8) |
| XYZ | xyz(6.6687, 3.5078, 25.1315) |
| Luminance | 0.0351 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 3.86
Indigo (survey)
#380282
ΔE00 4.08
Indigo Blue
#3A18B1
ΔE00 5.19
Cobalt Blue
#030AA7
ΔE00 5.35
Indigo
#4B0082
ΔE00 5.41
Midnight Blue
#191970
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#361C8C #728C1C
analogous
#1C3A8C #361C8C #6E1C8C
triadic
#361C8C #8C361C #1C8C36
tetradic
#361C8C #8C1C3A #728C1C #1C8C6E
square
#361C8C #8C1C3A #728C1C #1C8C6E
split-complementary
#361C8C #8C6E1C #3A8C1C
monochromatic
#0F0826 #221259 #361C8C #4A26BF #6A48DA
Accessibility & contrast
On white
12.34
#361C8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#361C8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #361C8C
12.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##361C8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##361C8C | 1.00 | 12.34 | 1.70 | 12.34 |
| #FFFFFF | 12.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00388F
Deuteranopia (green-blind)
#00318A
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #361c8c; /* rgb */ color: rgb(54, 28, 140); /* oklch */ color: oklch(34.6% 0.170 283.8);
Tailwind
colors: {
custom: {
50: '#795caf',
500: '#361c8c',
950: '#000000',
},
}SCSS
$custom: #361c8c; $custom-light: #795caf; $custom-dark: #000000;
JSON
{
"hex": "#361c8c",
"rgb": {
"r": 54,
"g": 28,
"b": 140
},
"hsl": {
"h": 253.929,
"s": 66.667,
"l": 32.941
},
"oklch": {
"l": 0.34646,
"c": 0.1698,
"h": 283.8
},
"luminance": 0.03508
}Semantic roles & 50–950 ramp
primary
#361C8C
secondary
#A1BC48
accent
#EA3EC2
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0410
muted
#7C797F