#36156E#36156E
#36156E is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.7% C 0.141 H 293.0°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).
Color values
| HEX | #36156E |
|---|---|
| RGB | rgb(54, 21, 110) |
| HSL | hsl(262, 68%, 26%) |
| HSV | hsv(262, 81%, 43%) |
| CMYK | cmyk(50.9%, 80.9%, 0%, 56.9%) |
| CIE-LAB | lab(17.67, 37.11, -45.19) |
| CIE-LCH | lch(17.67, 58.47, 309.39°) |
| OKLab | oklab(30.71% 0.055 -0.1297) |
| OKLCH | oklch(30.71% 0.141 293) |
| XYZ | xyz(4.6032, 2.4462, 14.9785) |
| Luminance | 0.0245 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.29
Midnight Blue
#191970
ΔE00 4.77
Royal Purple (survey)
#4B006E
ΔE00 4.99
Indigo
#4B0082
ΔE00 5.11
Dark Indigo
#1F0954
ΔE00 5.39
Dark Royal Blue
#02066F
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#36156E #4D6E15
analogous
#15206E #36156E #62156E
triadic
#36156E #6E3615 #156E36
tetradic
#36156E #6E1520 #4D6E15 #156E62
square
#36156E #6E1520 #4D6E15 #156E62
split-complementary
#36156E #6E6215 #206E15
monochromatic
#0D051A #1D0B3B #36156E #4F1FA1 #6829D5
Accessibility & contrast
On white
14.10
#36156E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#36156E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #36156E
14.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##36156E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##36156E | 1.00 | 14.10 | 1.49 | 14.10 |
| #FFFFFF | 14.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C70
Deuteranopia (green-blind)
#002A6C
Tritanopia (blue-blind)
#242E41
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #36156e; /* rgb */ color: rgb(54, 21, 110); /* oklch */ color: oklch(30.7% 0.141 293.0);
Tailwind
colors: {
custom: {
50: '#745798',
500: '#36156e',
950: '#000000',
},
}SCSS
$custom: #36156e; $custom-light: #745798; $custom-dark: #000000;
JSON
{
"hex": "#36156e",
"rgb": {
"r": 54,
"g": 21,
"b": 110
},
"hsl": {
"h": 262.247,
"s": 67.939,
"l": 25.686
},
"oklch": {
"l": 0.3071,
"c": 0.14088,
"h": 293
},
"luminance": 0.02446
}Semantic roles & 50–950 ramp
primary
#36156E
secondary
#7DA43A
accent
#EB3DAA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E