#36187E#36187E
#36187E is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.157 H 287.6°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).
Color values
| HEX | #36187E |
|---|---|
| RGB | rgb(54, 24, 126) |
| HSL | hsl(258, 68%, 29%) |
| HSV | hsv(258, 81%, 49%) |
| CMYK | cmyk(57.1%, 81%, 0%, 50.6%) |
| CIE-LAB | lab(19.82, 40.33, -51.95) |
| CIE-LCH | lch(19.82, 65.76, 307.82°) |
| OKLab | oklab(32.7% 0.0476 -0.1495) |
| OKLCH | oklch(32.7% 0.157 287.6) |
| XYZ | xyz(5.6127, 2.9436, 20.0070) |
| Luminance | 0.0294 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.16
Midnight Blue
#191970
ΔE00 4.58
Indigo
#4B0082
ΔE00 4.59
Royal
#0C1793
ΔE00 5.05
Darkblue
#00008B
ΔE00 5.89
Navy
#000080
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#36187E #607E18
analogous
#182D7E #36187E #69187E
triadic
#36187E #7E3618 #187E36
tetradic
#36187E #7E182D #607E18 #187E69
square
#36187E #7E182D #607E18 #187E69
split-complementary
#36187E #7E6918 #2D7E18
monochromatic
#0B051A #200E4B #36187E #4C22B1 #6737D9
Accessibility & contrast
On white
13.22
#36187E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#36187E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #36187E
13.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##36187E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##36187E | 1.00 | 13.22 | 1.59 | 13.22 |
| #FFFFFF | 13.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#002D7C
Tritanopia (blue-blind)
#17364B
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #36187e; /* rgb */ color: rgb(54, 24, 126); /* oklch */ color: oklch(32.7% 0.157 287.6);
Tailwind
colors: {
custom: {
50: '#7659a4',
500: '#36187e',
950: '#000000',
},
}SCSS
$custom: #36187e; $custom-light: #7659a4; $custom-dark: #000000;
JSON
{
"hex": "#36187e",
"rgb": {
"r": 54,
"g": 24,
"b": 126
},
"hsl": {
"h": 257.647,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.32701,
"c": 0.15689,
"h": 287.6
},
"luminance": 0.02944
}Semantic roles & 50–950 ramp
primary
#36187E
secondary
#91B23F
accent
#EB3DB8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F