Skip to content
Kolorvia
#5f2a4e

Color #5f2a4e

A muted dark magenta.

Conversions

HEX
#5f2a4e
RGB
rgb(95, 42, 78)
HSL
hsl(319.2, 38.7%, 26.9%)
HSV / HSB
hsv(319.2, 55.8%, 37.3%)
CMYK
cmyk(0%, 55.8%, 17.9%, 62.7%)
LAB
lab(25.68, 29.14, -10.97)
LCH
lch(25.68, 31.14, 339.37)
OKLCH
oklch(37.1%, 0.091, 341.23)
HWB
hwb(319.2, 16.5%, 62.7%)

Harmony colors

Complementary

#2a5f3b

Analogous

#562a5f
#5f2a4e
#5f2a34

Triadic

#5f2a4e
#4e5f2a
#2a4e5f

Split-complementary

#5f2a4e
#345f2a
#2a5f56

Tetradic

#5f2a4e
#5f3b2a
#2a5f3b
#2a4e5f

Square

#5f2a4e
#5f562a
#2a5f3b
#2a345f

Shades

Color #5f2a4e mixed toward black.

#4f2341
#3f1c34
#301527
#200e1a
#10070d

Tints

Color #5f2a4e mixed toward white.

#8a3d72
#b35394
#c67eaf
#d9a9ca
#ecd4e4

Tones

Color #5f2a4e mixed toward gray.

#5b2e4d
#56334b
#523749
#4d3c48
#494046

Accessibility

Aa White text on this color
10.89:1
Aa Black text on this color
1.93:1

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

Under color vision deficiencies

Protanopia

#4d4d47 · ΔE 27.1

Deuteranopia

#505345 · ΔE 33.3

Tritanopia

#5d4140 · ΔE 14.7

Achromatopsia

#3d3d3d · ΔE 21.7

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

Code

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

Related colors

Medium Violet Red #c71585
Deep Pink #ff1493
Hot Pink #ff69b4
Orchid #da70d6
Dark Magenta #8b008b
Fuchsia #ff00ff

Frequently asked questions

#5f2a4e (#5f2a4e) is rgb(95, 42, 78) in RGB.

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