#36176F#36176F
#36176F is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.1% C 0.140 H 292.3°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).
Color values
| HEX | #36176F |
|---|---|
| RGB | rgb(54, 23, 111) |
| HSL | hsl(261, 66%, 26%) |
| HSV | hsv(261, 79%, 44%) |
| CMYK | cmyk(51.4%, 79.3%, 0%, 56.5%) |
| CIE-LAB | lab(18.12, 36.41, -45.11) |
| CIE-LCH | lch(18.12, 57.97, 308.91°) |
| OKLab | oklab(31.05% 0.053 -0.1295) |
| OKLCH | oklch(31.05% 0.14 292.3) |
| XYZ | xyz(4.6962, 2.5446, 15.2796) |
| Luminance | 0.0255 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.45
Midnight Blue
#191970
ΔE00 4.58
Indigo
#4B0082
ΔE00 5.27
Royal Purple (survey)
#4B006E
ΔE00 5.28
Dark Indigo
#1F0954
ΔE00 5.60
Dark Royal Blue
#02066F
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#36176F #506F17
analogous
#17246F #36176F #62176F
triadic
#36176F #6F3617 #176F36
tetradic
#36176F #6F1724 #506F17 #176F62
square
#36176F #6F1724 #506F17 #176F62
split-complementary
#36176F #6F6217 #246F17
monochromatic
#0C0519 #1D0C3C #36176F #4F22A2 #682DD3
Accessibility & contrast
On white
13.92
#36176F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#36176F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #36176F
13.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##36176F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##36176F | 1.00 | 13.92 | 1.51 | 13.92 |
| #FFFFFF | 13.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D71
Deuteranopia (green-blind)
#002A6D
Tritanopia (blue-blind)
#242F42
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #36176f; /* rgb */ color: rgb(54, 23, 111); /* oklch */ color: oklch(31.1% 0.140 292.3);
Tailwind
colors: {
custom: {
50: '#745899',
500: '#36176f',
950: '#000000',
},
}SCSS
$custom: #36176f; $custom-light: #745899; $custom-dark: #000000;
JSON
{
"hex": "#36176f",
"rgb": {
"r": 54,
"g": 23,
"b": 111
},
"hsl": {
"h": 261.136,
"s": 65.672,
"l": 26.275
},
"oklch": {
"l": 0.31052,
"c": 0.1399,
"h": 292.3
},
"luminance": 0.02545
}Semantic roles & 50–950 ramp
primary
#36176F
secondary
#80A53D
accent
#E93FAD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E