Skip to content
Kolorvia
#5c1f4f

Color #5c1f4f

A moderately saturated dark magenta.

Conversions

HEX
#5c1f4f
RGB
rgb(92, 31, 79)
HSL
hsl(312.8, 49.6%, 24.1%)
HSV / HSB
hsv(312.8, 66.3%, 36.1%)
CMYK
cmyk(0%, 66.3%, 14.1%, 63.9%)
LAB
lab(23.07, 34.11, -15.71)
LCH
lch(23.07, 37.55, 335.27)
OKLCH
oklch(35.1%, 0.1087, 336.93)
HWB
hwb(312.8, 12.2%, 63.9%)

Harmony colors

Complementary

#1f5c2c

Analogous

#4a1f5c
#5c1f4f
#5c1f30

Triadic

#5c1f4f
#4f5c1f
#1f4f5c

Split-complementary

#5c1f4f
#305c1f
#1f5c4a

Tetradic

#5c1f4f
#5c2c1f
#1f5c2c
#1f4f5c

Square

#5c1f4f
#5c4a1f
#1f5c2c
#1f305c

Shades

Color #5c1f4f mixed toward black.

#4d1a42
#3d1535
#2e0f27
#1f0a1a
#0f050d

Tints

Color #5c1f4f mixed toward white.

#8c2f78
#bc3fa2
#ce6eba
#de9ed1
#efcfe8

Tones

Color #5c1f4f mixed toward gray.

#57244c
#522949
#4d2e46
#483343
#433840

Accessibility

Aa White text on this color
11.91:1
Aa Black text on this color
1.76:1

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

Under color vision deficiencies

Protanopia

#494947 · ΔE 25.6

Deuteranopia

#4c4f45 · ΔE 33

Tritanopia

#5a3f3e · ΔE 17.6

Achromatopsia

#373737 · ΔE 23.1

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

Code

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

Related colors

Medium Violet Red #c71585
Orchid #da70d6
Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd
Purple #800080

Frequently asked questions

#5c1f4f (#5c1f4f) is rgb(92, 31, 79) in RGB.

No, #5c1f4f is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #5c1f4f, 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.