#36156C#36156C
#36156C is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.138 H 293.7°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).
Color values
| HEX | #36156C |
|---|---|
| RGB | rgb(54, 21, 108) |
| HSL | hsl(263, 67%, 25%) |
| HSV | hsv(263, 81%, 42%) |
| CMYK | cmyk(50%, 80.6%, 0%, 57.6%) |
| CIE-LAB | lab(17.48, 36.53, -44.21) |
| CIE-LCH | lch(17.48, 57.35, 309.57°) |
| OKLab | oklab(30.51% 0.0557 -0.1268) |
| OKLCH | oklch(30.51% 0.138 293.7) |
| XYZ | xyz(4.4955, 2.4032, 14.4114) |
| Luminance | 0.0240 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.60
Midnight Blue
#191970
ΔE00 4.90
Royal Purple (survey)
#4B006E
ΔE00 4.95
Dark Indigo
#1F0954
ΔE00 5.17
Indigo
#4B0082
ΔE00 5.31
Dark Royal Blue
#02066F
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#36156C #4B6C15
analogous
#151F6C #36156C #62156C
triadic
#36156C #6C3615 #156C36
tetradic
#36156C #6C151F #4B6C15 #156C62
square
#36156C #6C151F #4B6C15 #156C62
split-complementary
#36156C #6C6215 #1F6C15
monochromatic
#0D051A #1C0B39 #36156C #501F9F #6929D2
Accessibility & contrast
On white
14.18
#36156C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#36156C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #36156C
14.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##36156C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##36156C | 1.00 | 14.18 | 1.48 | 14.18 |
| #FFFFFF | 14.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C6E
Deuteranopia (green-blind)
#00296A
Tritanopia (blue-blind)
#252D40
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #36156c; /* rgb */ color: rgb(54, 21, 108); /* oklch */ color: oklch(30.5% 0.138 293.7);
Tailwind
colors: {
custom: {
50: '#745797',
500: '#36156c',
950: '#000000',
},
}SCSS
$custom: #36156c; $custom-light: #745797; $custom-dark: #000000;
JSON
{
"hex": "#36156c",
"rgb": {
"r": 54,
"g": 21,
"b": 108
},
"hsl": {
"h": 262.759,
"s": 67.442,
"l": 25.294
},
"oklch": {
"l": 0.3051,
"c": 0.13849,
"h": 293.7
},
"luminance": 0.02403
}Semantic roles & 50–950 ramp
primary
#36156C
secondary
#7BA33A
accent
#EA3DA9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E