#36166E#36166E
#36166E is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.140 H 292.8°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).
Color values
| HEX | #36166E |
|---|---|
| RGB | rgb(54, 22, 110) |
| HSL | hsl(262, 67%, 26%) |
| HSV | hsv(262, 80%, 43%) |
| CMYK | cmyk(50.9%, 80%, 0%, 56.9%) |
| CIE-LAB | lab(17.84, 36.62, -44.91) |
| CIE-LCH | lch(17.84, 57.94, 309.20°) |
| OKLab | oklab(30.83% 0.0542 -0.1289) |
| OKLCH | oklch(30.83% 0.14 292.8) |
| XYZ | xyz(4.6219, 2.4837, 14.9847) |
| Luminance | 0.0248 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.44
Midnight Blue
#191970
ΔE00 4.70
Royal Purple (survey)
#4B006E
ΔE00 5.12
Indigo
#4B0082
ΔE00 5.23
Dark Indigo
#1F0954
ΔE00 5.43
Dark Royal Blue
#02066F
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#36166E #4E6E16
analogous
#16226E #36166E #62166E
triadic
#36166E #6E3616 #166E36
tetradic
#36166E #6E1622 #4E6E16 #166E62
square
#36166E #6E1622 #4E6E16 #166E62
split-complementary
#36166E #6E6216 #226E16
monochromatic
#0D051A #1D0C3B #36166E #4F20A1 #682AD4
Accessibility & contrast
On white
14.03
#36166E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#36166E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #36166E
14.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##36166E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##36166E | 1.00 | 14.03 | 1.50 | 14.03 |
| #FFFFFF | 14.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D70
Deuteranopia (green-blind)
#002A6C
Tritanopia (blue-blind)
#242E41
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #36166e; /* rgb */ color: rgb(54, 22, 110); /* oklch */ color: oklch(30.8% 0.140 292.8);
Tailwind
colors: {
custom: {
50: '#745798',
500: '#36166e',
950: '#000000',
},
}SCSS
$custom: #36166e; $custom-light: #745798; $custom-dark: #000000;
JSON
{
"hex": "#36166e",
"rgb": {
"r": 54,
"g": 22,
"b": 110
},
"hsl": {
"h": 261.818,
"s": 66.667,
"l": 25.882
},
"oklch": {
"l": 0.3083,
"c": 0.13979,
"h": 292.8
},
"luminance": 0.02484
}Semantic roles & 50–950 ramp
primary
#36166E
secondary
#7EA43C
accent
#EA3EAB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E