Skip to content
Kolorvia
#5f264e

Color #5f264e

A moderately saturated dark magenta.

Conversions

HEX
#5f264e
RGB
rgb(95, 38, 78)
HSL
hsl(317.9, 42.9%, 26.1%)
HSV / HSB
hsv(317.9, 60%, 37.3%)
CMYK
cmyk(0%, 60%, 17.9%, 62.7%)
LAB
lab(24.86, 31.33, -12.23)
LCH
lch(24.86, 33.63, 338.68)
OKLCH
oklch(36.5%, 0.0983, 340.51)
HWB
hwb(317.9, 14.9%, 62.7%)

Harmony colors

Complementary

#265f37

Analogous

#54265f
#5f264e
#5f2632

Triadic

#5f264e
#4e5f26
#264e5f

Split-complementary

#5f264e
#325f26
#265f54

Tetradic

#5f264e
#5f3726
#265f37
#264e5f

Square

#5f264e
#5f5426
#265f37
#26325f

Shades

Color #5f264e mixed toward black.

#4f2041
#3f1934
#301327
#200d1a
#10060d

Tints

Color #5f264e mixed toward white.

#8c3873
#b74b97
#c978b1
#dba5cb
#edd2e5

Tones

Color #5f264e mixed toward gray.

#5a2b4c
#56304a
#513448
#4c3946
#473e44

Accessibility

Aa White text on this color
11.21:1
Aa Black text on this color
1.87:1

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

Under color vision deficiencies

Protanopia

#4d4c47 · ΔE 26.4

Deuteranopia

#4f5345 · ΔE 34.5

Tritanopia

#5d403f · ΔE 15.6

Achromatopsia

#3b3b3b · ΔE 22.3

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

Code

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

Related colors

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

Frequently asked questions

#5f264e (#5f264e) is rgb(95, 38, 78) in RGB.

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