#36166B#36166B
#36166B is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.136 H 293.8°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).
Color values
| HEX | #36166B |
|---|---|
| RGB | rgb(54, 22, 107) |
| HSL | hsl(263, 66%, 25%) |
| HSV | hsv(263, 79%, 42%) |
| CMYK | cmyk(49.5%, 79.4%, 0%, 58%) |
| CIE-LAB | lab(17.55, 35.75, -43.43) |
| CIE-LCH | lch(17.55, 56.25, 309.46°) |
| OKLab | oklab(30.53% 0.0551 -0.1245) |
| OKLCH | oklch(30.53% 0.136 293.8) |
| XYZ | xyz(4.4613, 2.4195, 14.1390) |
| Luminance | 0.0242 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.90
Midnight Blue
#191970
ΔE00 4.91
Royal Purple (survey)
#4B006E
ΔE00 5.08
Dark Indigo
#1F0954
ΔE00 5.13
Indigo
#4B0082
ΔE00 5.55
Dark Royal Blue
#02066F
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#36166B #4B6B16
analogous
#16216B #36166B #60166B
triadic
#36166B #6B3616 #166B36
tetradic
#36166B #6B1621 #4B6B16 #166B60
square
#36166B #6B1621 #4B6B16 #166B60
split-complementary
#36166B #6B6016 #216B16
monochromatic
#0D0519 #1C0C38 #36166B #50209E #692BD1
Accessibility & contrast
On white
14.15
#36166B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#36166B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #36166B
14.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##36166B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##36166B | 1.00 | 14.15 | 1.48 | 14.15 |
| #FFFFFF | 14.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C6D
Deuteranopia (green-blind)
#002A69
Tritanopia (blue-blind)
#262D3F
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #36166b; /* rgb */ color: rgb(54, 22, 107); /* oklch */ color: oklch(30.5% 0.136 293.8);
Tailwind
colors: {
custom: {
50: '#735796',
500: '#36166b',
950: '#000000',
},
}SCSS
$custom: #36166b; $custom-light: #735796; $custom-dark: #000000;
JSON
{
"hex": "#36166b",
"rgb": {
"r": 54,
"g": 22,
"b": 107
},
"hsl": {
"h": 262.588,
"s": 65.891,
"l": 25.294
},
"oklch": {
"l": 0.30533,
"c": 0.13617,
"h": 293.8
},
"luminance": 0.0242
}Semantic roles & 50–950 ramp
primary
#36166B
secondary
#7BA13B
accent
#E93FA9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E