#36159E#36159E
#36159E is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.9% C 0.196 H 281.1°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).
Color values
| HEX | #36159E |
|---|---|
| RGB | rgb(54, 21, 158) |
| HSL | hsl(254, 77%, 35%) |
| HSV | hsv(254, 87%, 62%) |
| CMYK | cmyk(65.8%, 86.7%, 0%, 38%) |
| CIE-LAB | lab(22.96, 50.82, -66.70) |
| CIE-LCH | lch(22.96, 83.85, 307.30°) |
| OKLab | oklab(35.92% 0.0378 -0.1924) |
| OKLCH | oklch(35.92% 0.196 281.1) |
| XYZ | xyz(7.9591, 3.7886, 32.6530) |
| Luminance | 0.0379 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.72
Ultramarine
#2000B1
ΔE00 3.34
Cobalt Blue
#030AA7
ΔE00 3.49
Royal Blue (survey)
#0504AA
ΔE00 3.68
Royal
#0C1793
ΔE00 3.93
Indigo (survey)
#380282
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#36159E #7D9E15
analogous
#15389E #36159E #7B159E
triadic
#36159E #9E3615 #159E36
tetradic
#36159E #9E1538 #7D9E15 #159E7B
square
#36159E #9E1538 #7D9E15 #159E7B
split-complementary
#36159E #9E7B15 #389E15
monochromatic
#110732 #240E68 #36159E #481CD4 #6D47E7
Accessibility & contrast
On white
11.95
#36159E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#36159E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #36159E
11.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##36159E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##36159E | 1.00 | 11.95 | 1.76 | 11.95 |
| #FFFFFF | 11.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003BA2
Deuteranopia (green-blind)
#00329C
Tritanopia (blue-blind)
#00425D
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #36159e; /* rgb */ color: rgb(54, 21, 158); /* oklch */ color: oklch(35.9% 0.196 281.1);
Tailwind
colors: {
custom: {
50: '#7d5abc',
500: '#36159e',
950: '#000000',
},
}SCSS
$custom: #36159e; $custom-light: #7d5abc; $custom-dark: #000000;
JSON
{
"hex": "#36159e",
"rgb": {
"r": 54,
"g": 21,
"b": 158
},
"hsl": {
"h": 254.453,
"s": 76.536,
"l": 35.098
},
"oklch": {
"l": 0.35922,
"c": 0.19613,
"h": 281.1
},
"luminance": 0.03789
}Semantic roles & 50–950 ramp
primary
#36159E
secondary
#A9C747
accent
#F335C5
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981