#36198C#36198C
#36198C is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.173 H 284.2°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).
Color values
| HEX | #36198C |
|---|---|
| RGB | rgb(54, 25, 140) |
| HSL | hsl(255, 70%, 32%) |
| HSV | hsv(255, 82%, 55%) |
| CMYK | cmyk(61.4%, 82.1%, 0%, 45.1%) |
| CIE-LAB | lab(21.48, 43.98, -58.03) |
| CIE-LCH | lch(21.48, 72.81, 307.16°) |
| OKLab | oklab(34.3% 0.0423 -0.1673) |
| OKLCH | oklch(34.3% 0.173 284.2) |
| XYZ | xyz(6.6011, 3.3725, 25.1090) |
| Luminance | 0.0337 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.54
Royal
#0C1793
ΔE00 3.81
Indigo
#4B0082
ΔE00 5.01
Cobalt Blue
#030AA7
ΔE00 5.11
Indigo Blue
#3A18B1
ΔE00 5.17
Darkblue
#00008B
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#36198C #6F8C19
analogous
#19368C #36198C #6F198C
triadic
#36198C #8C3619 #198C36
tetradic
#36198C #8C1936 #6F8C19 #198C6F
square
#36198C #8C1936 #6F8C19 #198C6F
split-complementary
#36198C #8C6F19 #368C19
monochromatic
#0E0624 #221058 #36198C #4A22C0 #6942DD
Accessibility & contrast
On white
12.54
#36198C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#36198C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #36198C
12.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##36198C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##36198C | 1.00 | 12.54 | 1.67 | 12.54 |
| #FFFFFF | 12.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00378F
Deuteranopia (green-blind)
#00308A
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #36198c; /* rgb */ color: rgb(54, 25, 140); /* oklch */ color: oklch(34.3% 0.173 284.2);
Tailwind
colors: {
custom: {
50: '#795baf',
500: '#36198c',
950: '#000000',
},
}SCSS
$custom: #36198c; $custom-light: #795baf; $custom-dark: #000000;
JSON
{
"hex": "#36198c",
"rgb": {
"r": 54,
"g": 25,
"b": 140
},
"hsl": {
"h": 255.13,
"s": 69.697,
"l": 32.353
},
"oklch": {
"l": 0.34303,
"c": 0.17253,
"h": 284.2
},
"luminance": 0.03373
}Semantic roles & 50–950 ramp
primary
#36198C
secondary
#9FBE43
accent
#ED3BC0
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0410
muted
#7C797F