Skip to content
Kolorvia
#5b5158

Color #5b5158

A nearly neutral, gray-leaning dark magenta.

Conversions

HEX
#5b5158
RGB
rgb(91, 81, 88)
HSL
hsl(318, 5.8%, 33.7%)
HSV / HSB
hsv(318, 11%, 35.7%)
CMYK
cmyk(0%, 11%, 3.3%, 64.3%)
LAB
lab(35.62, 5.54, -2.58)
LCH
lch(35.62, 6.11, 335.03)
OKLCH
oklch(44.7%, 0.0171, 336.58)
HWB
hwb(318, 31.8%, 64.3%)

Harmony colors

Complementary

#515b54

Analogous

#59515b
#5b5158
#5b5153

Triadic

#5b5158
#585b51
#51585b

Split-complementary

#5b5158
#535b51
#515b59

Tetradic

#5b5158
#5b5451
#515b54
#51585b

Square

#5b5158
#5b5951
#515b54
#51535b

Shades

Color #5b5158 mixed toward black.

#4c4349
#3d363b
#2d282c
#1e1b1d
#0f0d0f

Tints

Color #5b5158 mixed toward white.

#796b75
#958891
#afa6ac
#cac3c8
#e4e1e3

Tones

Color #5b5158 mixed toward gray.

#5a5258
#595357
#585357
#585457
#575556

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

#575756 · ΔE 8

Deuteranopia

#575856 · ΔE 9.2

Tritanopia

#5b5555 · ΔE 4.8

Achromatopsia

#545454 · ΔE 7.3

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

Code

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

Related colors

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

Frequently asked questions

#5b5158 (#5b5158) is rgb(91, 81, 88) in RGB.

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