#36218F#36218F
#36218F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.169 H 282.4°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).
Color values
| HEX | #36218F |
|---|---|
| RGB | rgb(54, 33, 143) |
| HSL | hsl(251, 63%, 35%) |
| HSV | hsv(251, 77%, 56%) |
| CMYK | cmyk(62.2%, 76.9%, 0%, 43.9%) |
| CIE-LAB | lab(23.19, 40.90, -57.08) |
| CIE-LCH | lch(23.19, 70.22, 305.62°) |
| OKLab | oklab(35.59% 0.0362 -0.1646) |
| OKLCH | oklch(35.59% 0.169 282.4) |
| XYZ | xyz(7.0216, 3.8547, 26.3553) |
| Luminance | 0.0386 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 4.05
Indigo Blue
#3A18B1
ΔE00 4.96
Indigo (survey)
#380282
ΔE00 5.22
Cobalt Blue
#030AA7
ΔE00 5.61
Midnight Blue
#191970
ΔE00 5.95
Royal Blue (survey)
#0504AA
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#36218F #7A8F21
analogous
#21438F #36218F #6D218F
triadic
#36218F #8F3621 #218F36
tetradic
#36218F #8F2143 #7A8F21 #218F6D
square
#36218F #8F2143 #7A8F21 #218F6D
split-complementary
#36218F #8F6D21 #438F21
monochromatic
#100A2C #23165D #36218F #492CC1 #6C53D7
Accessibility & contrast
On white
11.86
#36218F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#36218F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #36218F
11.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##36218F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##36218F | 1.00 | 11.86 | 1.77 | 11.86 |
| #FFFFFF | 11.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00338D
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #36218f; /* rgb */ color: rgb(54, 33, 143); /* oklch */ color: oklch(35.6% 0.169 282.4);
Tailwind
colors: {
custom: {
50: '#795fb1',
500: '#36218f',
950: '#000000',
},
}SCSS
$custom: #36218f; $custom-light: #795fb1; $custom-dark: #000000;
JSON
{
"hex": "#36218f",
"rgb": {
"r": 54,
"g": 33,
"b": 143
},
"hsl": {
"h": 251.455,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.35589,
"c": 0.16852,
"h": 282.4
},
"luminance": 0.03855
}Semantic roles & 50–950 ramp
primary
#36218F
secondary
#A7BB51
accent
#E642C6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980