#36189F#36189F
#36189F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.3% C 0.195 H 280.7°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).
Color values
| HEX | #36189F |
|---|---|
| RGB | rgb(54, 24, 159) |
| HSL | hsl(253, 74%, 36%) |
| HSV | hsv(253, 85%, 62%) |
| CMYK | cmyk(66%, 84.9%, 0%, 37.6%) |
| CIE-LAB | lab(23.47, 49.93, -66.46) |
| CIE-LCH | lch(23.47, 83.12, 306.92°) |
| OKLab | oklab(36.31% 0.0362 -0.1918) |
| OKLCH | oklch(36.31% 0.195 280.7) |
| XYZ | xyz(8.1040, 3.9401, 33.1276) |
| Luminance | 0.0394 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.50
Ultramarine
#2000B1
ΔE00 3.53
Cobalt Blue
#030AA7
ΔE00 3.65
Royal Blue (survey)
#0504AA
ΔE00 3.88
Royal
#0C1793
ΔE00 3.97
Indigo (survey)
#380282
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#36189F #819F18
analogous
#183E9F #36189F #79189F
triadic
#36189F #9F3618 #189F36
tetradic
#36189F #9F183E #819F18 #189F79
square
#36189F #9F183E #819F18 #189F79
split-complementary
#36189F #9F7918 #3E9F18
monochromatic
#120835 #24106A #36189F #4820D4 #6F4DE4
Accessibility & contrast
On white
11.74
#36189F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#36189F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #36189F
11.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##36189F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##36189F | 1.00 | 11.74 | 1.79 | 11.74 |
| #FFFFFF | 11.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003CA3
Deuteranopia (green-blind)
#00339D
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #36189f; /* rgb */ color: rgb(54, 24, 159); /* oklch */ color: oklch(36.3% 0.195 280.7);
Tailwind
colors: {
custom: {
50: '#7d5cbd',
500: '#36189f',
950: '#000000',
},
}SCSS
$custom: #36189f; $custom-light: #7d5cbd; $custom-dark: #000000;
JSON
{
"hex": "#36189f",
"rgb": {
"r": 54,
"g": 24,
"b": 159
},
"hsl": {
"h": 253.333,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.36307,
"c": 0.19519,
"h": 280.7
},
"luminance": 0.03941
}Semantic roles & 50–950 ramp
primary
#36189F
secondary
#ABC64D
accent
#F037C7
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981