#36167F#36167F
#36167F is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.160 H 287.7°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).
Color values
| HEX | #36167F |
|---|---|
| RGB | rgb(54, 22, 127) |
| HSL | hsl(258, 70%, 29%) |
| HSV | hsv(258, 83%, 50%) |
| CMYK | cmyk(57.5%, 82.7%, 0%, 50.2%) |
| CIE-LAB | lab(19.60, 41.56, -52.94) |
| CIE-LCH | lch(19.60, 67.31, 308.13°) |
| OKLab | oklab(32.58% 0.0486 -0.1524) |
| OKLCH | oklch(32.58% 0.16 287.7) |
| XYZ | xyz(5.6379, 2.8901, 20.3353) |
| Luminance | 0.0289 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.74
Indigo
#4B0082
ΔE00 4.32
Midnight Blue
#191970
ΔE00 4.76
Royal
#0C1793
ΔE00 4.94
Darkblue
#00008B
ΔE00 5.59
Navy
#000080
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#36167F #5F7F16
analogous
#162A7F #36167F #6B167F
triadic
#36167F #7F3616 #167F36
tetradic
#36167F #7F162A #5F7F16 #167F6B
square
#36167F #7F162A #5F7F16 #167F6B
split-complementary
#36167F #7F6B16 #2A7F16
monochromatic
#0B051A #200D4B #36167F #4C1FB3 #6734DC
Accessibility & contrast
On white
13.31
#36167F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#36167F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #36167F
13.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##36167F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##36167F | 1.00 | 13.31 | 1.58 | 13.31 |
| #FFFFFF | 13.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#002D7D
Tritanopia (blue-blind)
#15354B
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #36167f; /* rgb */ color: rgb(54, 22, 127); /* oklch */ color: oklch(32.6% 0.160 287.7);
Tailwind
colors: {
custom: {
50: '#7758a5',
500: '#36167f',
950: '#000000',
},
}SCSS
$custom: #36167f; $custom-light: #7758a5; $custom-dark: #000000;
JSON
{
"hex": "#36167f",
"rgb": {
"r": 54,
"g": 22,
"b": 127
},
"hsl": {
"h": 258.286,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.32581,
"c": 0.15997,
"h": 287.7
},
"luminance": 0.0289
}Semantic roles & 50–950 ramp
primary
#36167F
secondary
#90B43D
accent
#ED3BB7
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F