#36168F#36168F
#36168F is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.3% C 0.178 H 283.9°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).
Color values
| HEX | #36168F |
|---|---|
| RGB | rgb(54, 22, 143) |
| HSL | hsl(256, 73%, 32%) |
| HSV | hsv(256, 85%, 56%) |
| CMYK | cmyk(62.2%, 84.6%, 0%, 43.9%) |
| CIE-LAB | lab(21.36, 46.17, -60.09) |
| CIE-LCH | lch(21.36, 75.78, 307.54°) |
| OKLab | oklab(34.32% 0.0429 -0.1732) |
| OKLCH | oklch(34.32% 0.178 283.9) |
| XYZ | xyz(6.7646, 3.3408, 26.2696) |
| Luminance | 0.0334 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.30
Royal
#0C1793
ΔE00 3.71
Cobalt Blue
#030AA7
ΔE00 4.62
Indigo Blue
#3A18B1
ΔE00 4.77
Indigo
#4B0082
ΔE00 4.86
Royal Blue (survey)
#0504AA
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#36168F #6F8F16
analogous
#16328F #36168F #73168F
triadic
#36168F #8F3616 #168F36
tetradic
#36168F #8F1632 #6F8F16 #168F73
square
#36168F #8F1632 #6F8F16 #168F73
split-complementary
#36168F #8F7316 #328F16
monochromatic
#0E0625 #220E5A #36168F #4A1EC4 #693EE1
Accessibility & contrast
On white
12.59
#36168F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#36168F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #36168F
12.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##36168F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##36168F | 1.00 | 12.59 | 1.67 | 12.59 |
| #FFFFFF | 12.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003792
Deuteranopia (green-blind)
#002F8D
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #36168f; /* rgb */ color: rgb(54, 22, 143); /* oklch */ color: oklch(34.3% 0.178 283.9);
Tailwind
colors: {
custom: {
50: '#7a59b1',
500: '#36168f',
950: '#000000',
},
}SCSS
$custom: #36168f; $custom-light: #7a59b1; $custom-dark: #000000;
JSON
{
"hex": "#36168f",
"rgb": {
"r": 54,
"g": 22,
"b": 143
},
"hsl": {
"h": 255.868,
"s": 73.333,
"l": 32.353
},
"oklch": {
"l": 0.3432,
"c": 0.17848,
"h": 283.9
},
"luminance": 0.03341
}Semantic roles & 50–950 ramp
primary
#36168F
secondary
#9FC13F
accent
#F038BF
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980