#36177F#36177F
#36177F is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.159 H 287.5°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).
Color values
| HEX | #36177F |
|---|---|
| RGB | rgb(54, 23, 127) |
| HSL | hsl(258, 69%, 29%) |
| HSV | hsv(258, 82%, 50%) |
| CMYK | cmyk(57.5%, 81.9%, 0%, 50.2%) |
| CIE-LAB | lab(19.76, 41.09, -52.68) |
| CIE-LCH | lch(19.76, 66.81, 307.95°) |
| OKLab | oklab(32.69% 0.0479 -0.1516) |
| OKLCH | oklch(32.69% 0.159 287.5) |
| XYZ | xyz(5.6573, 2.9291, 20.3418) |
| Luminance | 0.0293 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.93
Indigo
#4B0082
ΔE00 4.45
Midnight Blue
#191970
ΔE00 4.70
Royal
#0C1793
ΔE00 4.93
Darkblue
#00008B
ΔE00 5.70
Navy
#000080
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#36177F #607F17
analogous
#172C7F #36177F #6A177F
triadic
#36177F #7F3617 #177F36
tetradic
#36177F #7F172C #607F17 #177F6A
square
#36177F #7F172C #607F17 #177F6A
split-complementary
#36177F #7F6A17 #2C7F17
monochromatic
#0B051A #200E4B #36177F #4C20B3 #6736DB
Accessibility & contrast
On white
13.24
#36177F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#36177F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #36177F
13.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##36177F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##36177F | 1.00 | 13.24 | 1.59 | 13.24 |
| #FFFFFF | 13.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#002D7D
Tritanopia (blue-blind)
#15364B
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #36177f; /* rgb */ color: rgb(54, 23, 127); /* oklch */ color: oklch(32.7% 0.159 287.5);
Tailwind
colors: {
custom: {
50: '#7759a5',
500: '#36177f',
950: '#000000',
},
}SCSS
$custom: #36177f; $custom-light: #7759a5; $custom-dark: #000000;
JSON
{
"hex": "#36177f",
"rgb": {
"r": 54,
"g": 23,
"b": 127
},
"hsl": {
"h": 257.885,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.32692,
"c": 0.15904,
"h": 287.5
},
"luminance": 0.02929
}Semantic roles & 50–950 ramp
primary
#36177F
secondary
#91B43E
accent
#EC3CB8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F