#36197E#36197E
#36197E is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.156 H 287.5°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).
Color values
| HEX | #36197E |
|---|---|
| RGB | rgb(54, 25, 126) |
| HSL | hsl(257, 67%, 30%) |
| HSV | hsv(257, 80%, 49%) |
| CMYK | cmyk(57.1%, 80.2%, 0%, 50.6%) |
| CIE-LAB | lab(19.99, 39.84, -51.67) |
| CIE-LCH | lch(19.99, 65.24, 307.63°) |
| OKLab | oklab(32.82% 0.0468 -0.1487) |
| OKLCH | oklch(32.82% 0.156 287.5) |
| XYZ | xyz(5.6337, 2.9856, 20.0140) |
| Luminance | 0.0299 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.36
Midnight Blue
#191970
ΔE00 4.52
Indigo
#4B0082
ΔE00 4.73
Royal
#0C1793
ΔE00 5.05
Darkblue
#00008B
ΔE00 6.01
Navy
#000080
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#36197E #617E19
analogous
#192E7E #36197E #69197E
triadic
#36197E #7E3619 #197E36
tetradic
#36197E #7E192E #617E19 #197E69
square
#36197E #7E192E #617E19 #197E69
split-complementary
#36197E #7E6919 #2E7E19
monochromatic
#0B051A #200F4B #36197E #4C23B1 #673AD8
Accessibility & contrast
On white
13.15
#36197E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#36197E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #36197E
13.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##36197E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##36197E | 1.00 | 13.15 | 1.60 | 13.15 |
| #FFFFFF | 13.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#002D7C
Tritanopia (blue-blind)
#16364B
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #36197e; /* rgb */ color: rgb(54, 25, 126); /* oklch */ color: oklch(32.8% 0.156 287.5);
Tailwind
colors: {
custom: {
50: '#765aa4',
500: '#36197e',
950: '#000000',
},
}SCSS
$custom: #36197e; $custom-light: #765aa4; $custom-dark: #000000;
JSON
{
"hex": "#36197e",
"rgb": {
"r": 54,
"g": 25,
"b": 126
},
"hsl": {
"h": 257.228,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.32819,
"c": 0.15591,
"h": 287.5
},
"luminance": 0.02986
}Semantic roles & 50–950 ramp
primary
#36197E
secondary
#92B241
accent
#EA3EB8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F