#36188C#36188C
#36188C is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.2% C 0.173 H 284.3°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).
Color values
| HEX | #36188C |
|---|---|
| RGB | rgb(54, 24, 140) |
| HSL | hsl(256, 71%, 32%) |
| HSV | hsv(256, 83%, 55%) |
| CMYK | cmyk(61.4%, 82.9%, 0%, 45.1%) |
| CIE-LAB | lab(21.32, 44.44, -58.29) |
| CIE-LCH | lch(21.32, 73.29, 307.32°) |
| OKLab | oklab(34.2% 0.0429 -0.168) |
| OKLCH | oklch(34.2% 0.173 284.3) |
| XYZ | xyz(6.5801, 3.3306, 25.1020) |
| Luminance | 0.0333 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.37
Royal
#0C1793
ΔE00 3.81
Indigo
#4B0082
ΔE00 4.89
Cobalt Blue
#030AA7
ΔE00 5.05
Indigo Blue
#3A18B1
ΔE00 5.18
Darkblue
#00008B
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#36188C #6E8C18
analogous
#18348C #36188C #70188C
triadic
#36188C #8C3618 #188C36
tetradic
#36188C #8C1834 #6E8C18 #188C70
square
#36188C #8C1834 #6E8C18 #188C70
split-complementary
#36188C #8C7018 #348C18
monochromatic
#0E0624 #220F58 #36188C #4A21C0 #6940DE
Accessibility & contrast
On white
12.60
#36188C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#36188C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #36188C
12.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##36188C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##36188C | 1.00 | 12.60 | 1.67 | 12.60 |
| #FFFFFF | 12.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00368F
Deuteranopia (green-blind)
#002F8A
Tritanopia (blue-blind)
#003B53
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #36188c; /* rgb */ color: rgb(54, 24, 140); /* oklch */ color: oklch(34.2% 0.173 284.3);
Tailwind
colors: {
custom: {
50: '#795aaf',
500: '#36188c',
950: '#000000',
},
}SCSS
$custom: #36188c; $custom-light: #795aaf; $custom-dark: #000000;
JSON
{
"hex": "#36188c",
"rgb": {
"r": 54,
"g": 24,
"b": 140
},
"hsl": {
"h": 255.517,
"s": 70.732,
"l": 32.157
},
"oklch": {
"l": 0.34195,
"c": 0.17339,
"h": 284.3
},
"luminance": 0.03331
}Semantic roles & 50–950 ramp
primary
#36188C
secondary
#9EBF41
accent
#ED3ABF
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0410
muted
#7C797F