#36165E#36165E
#36165E is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.3% C 0.120 H 299.0°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).
Color values
| HEX | #36165E |
|---|---|
| RGB | rgb(54, 22, 94) |
| HSL | hsl(267, 62%, 23%) |
| HSV | hsv(267, 77%, 37%) |
| CMYK | cmyk(42.6%, 76.6%, 0%, 63.1%) |
| CIE-LAB | lab(16.34, 32.01, -36.84) |
| CIE-LCH | lch(16.34, 48.80, 310.99°) |
| OKLab | oklab(29.3% 0.0584 -0.1052) |
| OKLCH | oklch(29.3% 0.12 299) |
| XYZ | xyz(3.8281, 2.1662, 10.8039) |
| Luminance | 0.0217 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 4.56
Royal Purple (survey)
#4B006E
ΔE00 5.64
Midnight Blue
#191970
ΔE00 6.54
Indigo (survey)
#380282
ΔE00 7.24
Dark Violet
#34013F
ΔE00 7.33
Indigo
#4B0082
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#36165E #3E5E16
analogous
#161A5E #36165E #5A165E
triadic
#36165E #5E3616 #165E36
tetradic
#36165E #5E161A #3E5E16 #165E5A
square
#36165E #5E161A #3E5E16 #165E5A
split-complementary
#36165E #5E5A16 #1A5E16
monochromatic
#0E0619 #1A0A2C #36165E #522290 #6F2DC1
Accessibility & contrast
On white
14.65
#36165E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#36165E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #36165E
14.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##36165E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##36165E | 1.00 | 14.65 | 1.43 | 14.65 |
| #FFFFFF | 14.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002860
Deuteranopia (green-blind)
#00285D
Tritanopia (blue-blind)
#2C2838
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #36165e; /* rgb */ color: rgb(54, 22, 94); /* oklch */ color: oklch(29.3% 0.120 299.0);
Tailwind
colors: {
custom: {
50: '#71568c',
500: '#36165e',
950: '#000000',
},
}SCSS
$custom: #36165e; $custom-light: #71568c; $custom-dark: #000000;
JSON
{
"hex": "#36165e",
"rgb": {
"r": 54,
"g": 22,
"b": 94
},
"hsl": {
"h": 266.667,
"s": 62.069,
"l": 22.745
},
"oklch": {
"l": 0.29301,
"c": 0.1203,
"h": 299
},
"luminance": 0.02166
}Semantic roles & 50–950 ramp
primary
#36165E
secondary
#6D953B
accent
#E5439D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D