Skip to content
Kolorvia
#4e2540

Color #4e2540

A muted dark magenta.

Conversions

HEX
#4e2540
RGB
rgb(78, 37, 64)
HSL
hsl(320.5, 35.7%, 22.5%)
HSV / HSB
hsv(320.5, 52.6%, 30.6%)
CMYK
cmyk(0%, 52.6%, 17.9%, 69.4%)
LAB
lab(21.26, 23.31, -8.51)
LCH
lch(21.26, 24.81, 339.94)
OKLCH
oklch(33.1%, 0.0724, 341.74)
HWB
hwb(320.5, 14.5%, 69.4%)

Harmony colors

Complementary

#254e33

Analogous

#47254e
#4e2540
#4e252b

Triadic

#4e2540
#404e25
#25404e

Split-complementary

#4e2540
#2b4e25
#254e47

Tetradic

#4e2540
#4e3325
#254e33
#25404e

Square

#4e2540
#4e4725
#254e33
#252b4e

Shades

Color #4e2540 mixed toward black.

#411f35
#34192b
#271220
#1a0c15
#0d060b

Tints

Color #4e2540 mixed toward white.

#7b3a65
#a74f89
#bf79a7
#d5a6c5
#ead2e2

Tones

Color #4e2540 mixed toward gray.

#4a283f
#472c3e
#442f3d
#40333c
#3d363a

Accessibility

Aa White text on this color
12.63:1
Aa Black text on this color
1.66:1

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

Under color vision deficiencies

Protanopia

#40403b · ΔE 24

Deuteranopia

#424539 · ΔE 30.2

Tritanopia

#4d3635 · ΔE 12.7

Achromatopsia

#333333 · ΔE 19.6

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

Code

CSS
background-color: #4e2540;
Tailwind (arbitrary value)
bg-[#4e2540]

Related colors

Medium Violet Red #c71585
Deep Pink #ff1493
Hot Pink #ff69b4
Orchid #da70d6
Lavender Blush #fff0f5
Pale Violet Red #db7093

Frequently asked questions

#4e2540 (#4e2540) is rgb(78, 37, 64) in RGB.

No, #4e2540 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 #4e2540, 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.