#36165C#36165C
#36165C is a dark, moderate violet. Relative luminance 0.021; OKLCH L 29.1% C 0.118 H 299.9°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).
Color values
| HEX | #36165C |
|---|---|
| RGB | rgb(54, 22, 92) |
| HSL | hsl(267, 61%, 22%) |
| HSV | hsv(267, 76%, 36%) |
| CMYK | cmyk(41.3%, 76.1%, 0%, 63.9%) |
| CIE-LAB | lab(16.16, 31.44, -35.79) |
| CIE-LCH | lch(16.16, 47.64, 311.30°) |
| OKLab | oklab(29.12% 0.0588 -0.1021) |
| OKLCH | oklch(29.12% 0.118 299.9) |
| XYZ | xyz(3.7395, 2.1308, 10.3374) |
| Luminance | 0.0213 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 4.63
Royal Purple (survey)
#4B006E
ΔE00 5.83
Midnight Blue
#191970
ΔE00 6.87
Dark Violet
#34013F
ΔE00 6.99
Dark Purple
#35063E
ΔE00 7.13
Deep Purple
#36013F
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#36165C #3C5C16
analogous
#16195C #36165C #59165C
triadic
#36165C #5C3616 #165C36
tetradic
#36165C #5C1619 #3C5C16 #165C59
square
#36165C #5C1619 #3C5C16 #165C59
split-complementary
#36165C #5C5916 #195C16
monochromatic
#0E0619 #190A2B #36165C #53228D #702EBF
Accessibility & contrast
On white
14.72
#36165C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#36165C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #36165C
14.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##36165C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##36165C | 1.00 | 14.72 | 1.43 | 14.72 |
| #FFFFFF | 14.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00285E
Deuteranopia (green-blind)
#00285B
Tritanopia (blue-blind)
#2D2737
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #36165c; /* rgb */ color: rgb(54, 22, 92); /* oklch */ color: oklch(29.1% 0.118 299.9);
Tailwind
colors: {
custom: {
50: '#71568b',
500: '#36165c',
950: '#000000',
},
}SCSS
$custom: #36165c; $custom-light: #71568b; $custom-dark: #000000;
JSON
{
"hex": "#36165c",
"rgb": {
"r": 54,
"g": 22,
"b": 92
},
"hsl": {
"h": 267.429,
"s": 61.404,
"l": 22.353
},
"oklch": {
"l": 0.2912,
"c": 0.11784,
"h": 299.9
},
"luminance": 0.02131
}Semantic roles & 50–950 ramp
primary
#36165C
secondary
#6B933B
accent
#E5439B
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D