#361C7D#361C7D
#361C7D is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.152 H 287.2°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).
Color values
| HEX | #361C7D |
|---|---|
| RGB | rgb(54, 28, 125) |
| HSL | hsl(256, 63%, 30%) |
| HSV | hsv(256, 78%, 49%) |
| CMYK | cmyk(56.8%, 77.6%, 0%, 51%) |
| CIE-LAB | lab(20.42, 38.00, -50.32) |
| CIE-LCH | lch(20.42, 63.06, 307.06°) |
| OKLab | oklab(33.09% 0.0448 -0.1448) |
| OKLCH | oklch(33.09% 0.152 287.2) |
| XYZ | xyz(5.6371, 3.0951, 19.6984) |
| Luminance | 0.0309 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.05
Midnight Blue
#191970
ΔE00 4.35
Indigo
#4B0082
ΔE00 5.24
Royal
#0C1793
ΔE00 5.25
Darkblue
#00008B
ΔE00 6.51
Dark Royal Blue
#02066F
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#361C7D #637D1C
analogous
#1C337D #361C7D #661C7D
triadic
#361C7D #7D361C #1C7D36
tetradic
#361C7D #7D1C33 #637D1C #1C7D66
square
#361C7D #7D1C33 #637D1C #1C7D66
split-complementary
#361C7D #7D661C #337D1C
monochromatic
#0B0619 #20114B #361C7D #4C27AF #673FD4
Accessibility & contrast
On white
12.97
#361C7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#361C7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #361C7D
12.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##361C7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##361C7D | 1.00 | 12.97 | 1.62 | 12.97 |
| #FFFFFF | 12.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003380
Deuteranopia (green-blind)
#002E7B
Tritanopia (blue-blind)
#17374B
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #361c7d; /* rgb */ color: rgb(54, 28, 125); /* oklch */ color: oklch(33.1% 0.152 287.2);
Tailwind
colors: {
custom: {
50: '#765ba4',
500: '#361c7d',
950: '#000000',
},
}SCSS
$custom: #361c7d; $custom-light: #765ba4; $custom-dark: #000000;
JSON
{
"hex": "#361c7d",
"rgb": {
"r": 54,
"g": 28,
"b": 125
},
"hsl": {
"h": 256.082,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.33093,
"c": 0.15155,
"h": 287.2
},
"luminance": 0.03095
}Semantic roles & 50–950 ramp
primary
#361C7D
secondary
#94B144
accent
#E641BA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F