Skip to content
Kolorvia
#5a515b

Color #5a515b

A nearly neutral, gray-leaning dark magenta.

Conversions

HEX
#5a515b
RGB
rgb(90, 81, 91)
HSL
hsl(294, 5.8%, 33.7%)
HSV / HSB
hsv(294, 11%, 35.7%)
CMYK
cmyk(1.1%, 11%, 0%, 64.3%)
LAB
lab(35.62, 5.78, -4.48)
LCH
lch(35.62, 7.31, 322.22)
OKLCH
oklch(44.7%, 0.0197, 322.84)
HWB
hwb(294, 31.8%, 64.3%)

Harmony colors

Complementary

#525b51

Analogous

#55515b
#5a515b
#5b5157

Triadic

#5a515b
#5b5a51
#515b5a

Split-complementary

#5a515b
#575b51
#515b55

Tetradic

#5a515b
#5b5152
#525b51
#515b5a

Square

#5a515b
#5b5551
#525b51
#51575b

Shades

Color #5a515b mixed toward black.

#4b434c
#3c363d
#2d282d
#1e1b1e
#0f0d0f

Tints

Color #5a515b mixed toward white.

#776b79
#948895
#aea6af
#c9c3ca
#e4e1e4

Tones

Color #5a515b mixed toward gray.

#59525a
#595359
#585358
#575458
#575557

Accessibility

Aa White text on this color
7.6:1
Aa Black text on this color
2.76:1

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

Under color vision deficiencies

Protanopia

#565659 · ΔE 6.6

Deuteranopia

#575758 · ΔE 7.6

Tritanopia

#5a5756 · ΔE 7.5

Achromatopsia

#545454 · ΔE 8

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

Code

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

Related colors

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

Frequently asked questions

#5a515b (#5a515b) is rgb(90, 81, 91) in RGB.

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