#36187C#36187C
#36187C is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.154 H 288.2°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).
Color values
| HEX | #36187C |
|---|---|
| RGB | rgb(54, 24, 124) |
| HSL | hsl(258, 68%, 29%) |
| HSV | hsv(258, 81%, 49%) |
| CMYK | cmyk(56.5%, 80.6%, 0%, 51.4%) |
| CIE-LAB | lab(19.61, 39.74, -51.02) |
| CIE-LCH | lch(19.61, 64.67, 307.91°) |
| OKLab | oklab(32.49% 0.0482 -0.1468) |
| OKLCH | oklch(32.49% 0.155 288.2) |
| XYZ | xyz(5.4850, 2.8925, 19.3342) |
| Luminance | 0.0289 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.26
Midnight Blue
#191970
ΔE00 4.48
Indigo
#4B0082
ΔE00 4.63
Royal
#0C1793
ΔE00 5.30
Navy
#000080
ΔE00 6.02
Darkblue
#00008B
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#36187C #5E7C18
analogous
#182C7C #36187C #68187C
triadic
#36187C #7C3618 #187C36
tetradic
#36187C #7C182C #5E7C18 #187C68
square
#36187C #7C182C #5E7C18 #187C68
split-complementary
#36187C #7C6818 #2C7C18
monochromatic
#0B051A #200E49 #36187C #4C22AF #6736D8
Accessibility & contrast
On white
13.30
#36187C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#36187C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #36187C
13.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##36187C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##36187C | 1.00 | 13.30 | 1.58 | 13.30 |
| #FFFFFF | 13.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327F
Deuteranopia (green-blind)
#002D7A
Tritanopia (blue-blind)
#19354A
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #36187c; /* rgb */ color: rgb(54, 24, 124); /* oklch */ color: oklch(32.5% 0.154 288.2);
Tailwind
colors: {
custom: {
50: '#7659a3',
500: '#36187c',
950: '#000000',
},
}SCSS
$custom: #36187c; $custom-light: #7659a3; $custom-dark: #000000;
JSON
{
"hex": "#36187c",
"rgb": {
"r": 54,
"g": 24,
"b": 124
},
"hsl": {
"h": 258,
"s": 67.568,
"l": 29.02
},
"oklch": {
"l": 0.32493,
"c": 0.1545,
"h": 288.2
},
"luminance": 0.02893
}Semantic roles & 50–950 ramp
primary
#36187C
secondary
#8FB13F
accent
#EA3DB7
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F