#361780#361780
#361780 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.160 H 287.3°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).
Color values
| HEX | #361780 |
|---|---|
| RGB | rgb(54, 23, 128) |
| HSL | hsl(258, 70%, 30%) |
| HSV | hsv(258, 82%, 50%) |
| CMYK | cmyk(57.8%, 82%, 0%, 49.8%) |
| CIE-LAB | lab(19.86, 41.39, -53.14) |
| CIE-LCH | lch(19.86, 67.36, 307.91°) |
| OKLab | oklab(32.8% 0.0476 -0.153) |
| OKLCH | oklch(32.8% 0.16 287.3) |
| XYZ | xyz(5.7228, 2.9553, 20.6868) |
| Luminance | 0.0296 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.90
Indigo
#4B0082
ΔE00 4.44
Midnight Blue
#191970
ΔE00 4.76
Royal
#0C1793
ΔE00 4.82
Darkblue
#00008B
ΔE00 5.63
Navy
#000080
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#361780 #618017
analogous
#172D80 #361780 #6A1780
triadic
#361780 #803617 #178036
tetradic
#361780 #80172D #618017 #17806A
square
#361780 #80172D #618017 #17806A
split-complementary
#361780 #806A17 #2D8017
monochromatic
#0B051A #200E4C #361780 #4C20B4 #6736DB
Accessibility & contrast
On white
13.20
#361780 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#361780 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #361780
13.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##361780 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##361780 | 1.00 | 13.20 | 1.59 | 13.20 |
| #FFFFFF | 13.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003283
Deuteranopia (green-blind)
#002D7E
Tritanopia (blue-blind)
#14364C
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #361780; /* rgb */ color: rgb(54, 23, 128); /* oklch */ color: oklch(32.8% 0.160 287.3);
Tailwind
colors: {
custom: {
50: '#7759a6',
500: '#361780',
950: '#000000',
},
}SCSS
$custom: #361780; $custom-light: #7759a6; $custom-dark: #000000;
JSON
{
"hex": "#361780",
"rgb": {
"r": 54,
"g": 23,
"b": 128
},
"hsl": {
"h": 257.714,
"s": 69.536,
"l": 29.608
},
"oklch": {
"l": 0.32797,
"c": 0.16022,
"h": 287.3
},
"luminance": 0.02956
}Semantic roles & 50–950 ramp
primary
#361780
secondary
#92B43E
accent
#EC3BB8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F