#36167E#36167E
#36167E is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.159 H 288.0°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).
Color values
| HEX | #36167E |
|---|---|
| RGB | rgb(54, 22, 126) |
| HSL | hsl(258, 70%, 29%) |
| HSV | hsv(258, 83%, 49%) |
| CMYK | cmyk(57.1%, 82.5%, 0%, 50.6%) |
| CIE-LAB | lab(19.49, 41.27, -52.49) |
| CIE-LCH | lch(19.49, 66.76, 308.18°) |
| OKLab | oklab(32.48% 0.049 -0.1511) |
| OKLCH | oklch(32.48% 0.159 288) |
| XYZ | xyz(5.5730, 2.8642, 19.9938) |
| Luminance | 0.0286 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.78
Indigo
#4B0082
ΔE00 4.33
Midnight Blue
#191970
ΔE00 4.71
Royal
#0C1793
ΔE00 5.06
Darkblue
#00008B
ΔE00 5.66
Navy
#000080
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#36167E #5E7E16
analogous
#162A7E #36167E #6A167E
triadic
#36167E #7E3616 #167E36
tetradic
#36167E #7E162A #5E7E16 #167E6A
square
#36167E #7E162A #5E7E16 #167E6A
split-complementary
#36167E #7E6A16 #2A7E16
monochromatic
#0B051A #200D4A #36167E #4C1FB2 #6733DB
Accessibility & contrast
On white
13.35
#36167E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#36167E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #36167E
13.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##36167E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##36167E | 1.00 | 13.35 | 1.57 | 13.35 |
| #FFFFFF | 13.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003181
Deuteranopia (green-blind)
#002C7C
Tritanopia (blue-blind)
#17354A
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #36167e; /* rgb */ color: rgb(54, 22, 126); /* oklch */ color: oklch(32.5% 0.159 288.0);
Tailwind
colors: {
custom: {
50: '#7658a4',
500: '#36167e',
950: '#000000',
},
}SCSS
$custom: #36167e; $custom-light: #7658a4; $custom-dark: #000000;
JSON
{
"hex": "#36167e",
"rgb": {
"r": 54,
"g": 22,
"b": 126
},
"hsl": {
"h": 258.462,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.32475,
"c": 0.1588,
"h": 288
},
"luminance": 0.02864
}Semantic roles & 50–950 ramp
primary
#36167E
secondary
#8FB33D
accent
#ED3BB6
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F