#36197F#36197F
#36197F is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.157 H 287.2°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).
Color values
| HEX | #36197F |
|---|---|
| RGB | rgb(54, 25, 127) |
| HSL | hsl(257, 67%, 30%) |
| HSV | hsv(257, 80%, 50%) |
| CMYK | cmyk(57.5%, 80.3%, 0%, 50.2%) |
| CIE-LAB | lab(20.09, 40.14, -52.14) |
| CIE-LCH | lch(20.09, 65.79, 307.59°) |
| OKLab | oklab(32.92% 0.0465 -0.1501) |
| OKLCH | oklch(32.92% 0.157 287.2) |
| XYZ | xyz(5.6986, 3.0115, 20.3556) |
| Luminance | 0.0301 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.32
Midnight Blue
#191970
ΔE00 4.58
Indigo
#4B0082
ΔE00 4.72
Royal
#0C1793
ΔE00 4.93
Darkblue
#00008B
ΔE00 5.94
Navy
#000080
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#36197F #627F19
analogous
#192F7F #36197F #69197F
triadic
#36197F #7F3619 #197F36
tetradic
#36197F #7F192F #627F19 #197F69
square
#36197F #7F192F #627F19 #197F69
split-complementary
#36197F #7F6919 #2F7F19
monochromatic
#0B051A #200F4C #36197F #4C23B2 #673AD8
Accessibility & contrast
On white
13.11
#36197F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#36197F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #36197F
13.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##36197F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##36197F | 1.00 | 13.11 | 1.60 | 13.11 |
| #FFFFFF | 13.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003382
Deuteranopia (green-blind)
#002E7D
Tritanopia (blue-blind)
#15364C
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #36197f; /* rgb */ color: rgb(54, 25, 127); /* oklch */ color: oklch(32.9% 0.157 287.2);
Tailwind
colors: {
custom: {
50: '#765aa5',
500: '#36197f',
950: '#000000',
},
}SCSS
$custom: #36197f; $custom-light: #765aa5; $custom-dark: #000000;
JSON
{
"hex": "#36197f",
"rgb": {
"r": 54,
"g": 25,
"b": 127
},
"hsl": {
"h": 257.059,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.32923,
"c": 0.1571,
"h": 287.2
},
"luminance": 0.03012
}Semantic roles & 50–950 ramp
primary
#36197F
secondary
#93B341
accent
#EA3EB9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F