Skip to content
Kolorvia
#5c178a

Color #5c178a

A vivid, highly saturated dark purple.

Conversions

HEX
#5c178a
RGB
rgb(92, 23, 138)
HSL
hsl(276, 71.4%, 31.6%)
HSV / HSB
hsv(276, 83.3%, 54.1%)
CMYK
cmyk(33.3%, 83.3%, 0%, 45.9%)
LAB
lab(25.93, 49.72, -49.29)
LCH
lch(25.93, 70.01, 315.25)
OKLCH
oklch(38.4%, 0.1749, 306.68)
HWB
hwb(276, 9%, 45.9%)

Harmony colors

Complementary

#458a17

Analogous

#23178a
#5c178a
#8a177f

Triadic

#5c178a
#8a5c17
#178a5c

Split-complementary

#5c178a
#7f8a17
#178a23

Tetradic

#5c178a
#8a1745
#458a17
#178a5c

Square

#5c178a
#8a2317
#458a17
#177f8a

Shades

Color #5c178a mixed toward black.

#4d1373
#3d0f5c
#2e0c45
#1f082e
#0f0417

Tints

Color #5c178a mixed toward white.

#7d1fbc
#9b38de
#b46ae6
#cd9bee
#e6cdf7

Tones

Color #5c178a mixed toward gray.

#5a2181
#582a77
#56346d
#543d64
#52475a

Accessibility

Aa White text on this color
10.8:1
Aa Black text on this color
1.94:1

White text reads better on this background (10.8:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#48477a · ΔE 14.8

Deuteranopia

#4b4f76 · ΔE 17.8

Tritanopia

#5a6b68 · ΔE 29.8

Achromatopsia

#3d3d3d · ΔE 27.3

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #5c178a;
Tailwind (arbitrary value)
bg-[#5c178a]

Related colors

Indigo #4b0082
Dark Orchid #9932cc
Blue Violet #8a2be2
Rebecca Purple #663399
Dark Violet #9400d3
Medium Orchid #ba55d3

Frequently asked questions

#5c178a (#5c178a) is rgb(92, 23, 138) in RGB.

No, #5c178a is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #5c178a, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.