Skip to content
Kolorvia
#5b1d40

Color #5b1d40

A moderately saturated dark magenta.

Conversions

HEX
#5b1d40
RGB
rgb(91, 29, 64)
HSL
hsl(326.1, 51.7%, 23.5%)
HSV / HSB
hsv(326.1, 68.1%, 35.7%)
CMYK
cmyk(0%, 68.1%, 29.7%, 64.3%)
LAB
lab(21.85, 32.33, -7.4)
LCH
lch(21.85, 33.17, 347.11)
OKLCH
oklch(33.9%, 0.0999, 348.8)
HWB
hwb(326.1, 11.4%, 64.3%)

Harmony colors

Complementary

#1d5b38

Analogous

#571d5b
#5b1d40
#5b1d21

Triadic

#5b1d40
#405b1d
#1d405b

Split-complementary

#5b1d40
#215b1d
#1d5b57

Tetradic

#5b1d40
#5b381d
#1d5b38
#1d405b

Square

#5b1d40
#5b571d
#1d5b38
#1d215b

Shades

Color #5b1d40 mixed toward black.

#4c1835
#3d132b
#2d0e20
#1e0a15
#0f050b

Tints

Color #5b1d40 mixed toward white.

#8c2d63
#be3c85
#d06ba4
#e09cc2
#efcee1

Tones

Color #5b1d40 mixed toward gray.

#56223f
#51273f
#4b2c3e
#46323d
#41373d

Accessibility

Aa White text on this color
12.39:1
Aa Black text on this color
1.69:1

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

Under color vision deficiencies

Protanopia

#48473a · ΔE 30.9

Deuteranopia

#4b4e38 · ΔE 36.5

Tritanopia

#593433 · ΔE 13.2

Achromatopsia

#343434 · ΔE 22.5

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

Code

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

Related colors

Deep Pink #ff1493
Hot Pink #ff69b4
Medium Violet Red #c71585
Lavender Blush #fff0f5
Pale Violet Red #db7093
Crimson #dc143c

Frequently asked questions

#5b1d40 (#5b1d40) is rgb(91, 29, 64) in RGB.

No, #5b1d40 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 #5b1d40, 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.