#36147F#36147F
#36147F is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.4% C 0.162 H 288.0°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).
Color values
| HEX | #36147F |
|---|---|
| RGB | rgb(54, 20, 127) |
| HSL | hsl(259, 73%, 29%) |
| HSV | hsv(259, 84%, 50%) |
| CMYK | cmyk(57.5%, 84.3%, 0%, 50.2%) |
| CIE-LAB | lab(19.29, 42.44, -53.45) |
| CIE-LCH | lch(19.29, 68.25, 308.45°) |
| OKLab | oklab(32.37% 0.0499 -0.1538) |
| OKLCH | oklch(32.37% 0.162 288) |
| XYZ | xyz(5.6011, 2.8166, 20.3231) |
| Luminance | 0.0282 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.38
Indigo
#4B0082
ΔE00 4.10
Midnight Blue
#191970
ΔE00 4.90
Royal
#0C1793
ΔE00 4.98
Darkblue
#00008B
ΔE00 5.40
Navy
#000080
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#36147F #5D7F14
analogous
#14287F #36147F #6C147F
triadic
#36147F #7F3614 #147F36
tetradic
#36147F #7F1428 #5D7F14 #147F6C
square
#36147F #7F1428 #5D7F14 #147F6C
split-complementary
#36147F #7F6C14 #287F14
monochromatic
#0B041A #200C4A #36147F #4C1CB4 #672FDE
Accessibility & contrast
On white
13.43
#36147F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#36147F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #36147F
13.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##36147F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##36147F | 1.00 | 13.43 | 1.56 | 13.43 |
| #FFFFFF | 13.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003182
Deuteranopia (green-blind)
#002C7D
Tritanopia (blue-blind)
#16344B
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #36147f; /* rgb */ color: rgb(54, 20, 127); /* oklch */ color: oklch(32.4% 0.162 288.0);
Tailwind
colors: {
custom: {
50: '#7757a5',
500: '#36147f',
950: '#000000',
},
}SCSS
$custom: #36147f; $custom-light: #7757a5; $custom-dark: #000000;
JSON
{
"hex": "#36147f",
"rgb": {
"r": 54,
"g": 20,
"b": 127
},
"hsl": {
"h": 259.065,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.32371,
"c": 0.16174,
"h": 288
},
"luminance": 0.02817
}Semantic roles & 50–950 ramp
primary
#36147F
secondary
#8EB43B
accent
#EF38B5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A030F
muted
#7C787F