Skip to content
Kolorvia
#51404f

Color #51404f

A nearly neutral, gray-leaning dark magenta.

Conversions

HEX
#51404f
RGB
rgb(81, 64, 79)
HSL
hsl(307.1, 11.7%, 28.4%)
HSV / HSB
hsv(307.1, 21%, 31.8%)
CMYK
cmyk(0%, 21%, 2.5%, 68.2%)
LAB
lab(29.36, 10.37, -6.25)
LCH
lch(29.36, 12.11, 328.92)
OKLCH
oklch(39.5%, 0.0335, 330.06)
HWB
hwb(307.1, 25.1%, 68.2%)

Harmony colors

Complementary

#405142

Analogous

#4a4051
#51404f
#514046

Triadic

#51404f
#4f5140
#404f51

Split-complementary

#51404f
#465140
#40514a

Tetradic

#51404f
#514240
#405142
#404f51

Square

#51404f
#514a40
#405142
#404651

Shades

Color #51404f mixed toward black.

#433542
#362b35
#282027
#1b151a
#0d0b0d

Tints

Color #51404f mixed toward white.

#735b70
#947790
#ae99ac
#c9bbc8
#e4dde3

Tones

Color #51404f mixed toward gray.

#4f414e
#4e434d
#4d444c
#4b464b
#4a4749

Accessibility

Aa White text on this color
9.56:1
Aa Black text on this color
2.2:1

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

Under color vision deficiencies

Protanopia

#4a4a4c · ΔE 11.4

Deuteranopia

#4b4c4b · ΔE 13.8

Tritanopia

#504948 · ΔE 10.1

Achromatopsia

#454545 · ΔE 12.2

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

Code

CSS
background-color: #51404f;
Tailwind (arbitrary value)
bg-[#51404f]

Related colors

Orchid #da70d6
Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd
Purple #800080
Thistle #d8bfd8

Frequently asked questions

#51404f (#51404f) is rgb(81, 64, 79) in RGB.

No, #51404f 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 #51404f, 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.