Skip to content
Kolorvia
#5a184f

Color #5a184f

A moderately saturated dark magenta.

Conversions

HEX
#5a184f
RGB
rgb(90, 24, 79)
HSL
hsl(310, 57.9%, 22.4%)
HSV / HSB
hsv(310, 73.3%, 35.3%)
CMYK
cmyk(0%, 73.3%, 12.2%, 64.7%)
LAB
lab(21.55, 36.73, -18.1)
LCH
lch(21.55, 40.95, 333.77)
OKLCH
oklch(33.9%, 0.1179, 335.28)
HWB
hwb(310, 9.4%, 64.7%)

Harmony colors

Complementary

#185a23

Analogous

#44185a
#5a184f
#5a182e

Triadic

#5a184f
#4f5a18
#184f5a

Split-complementary

#5a184f
#2e5a18
#185a44

Tetradic

#5a184f
#5a2318
#185a23
#184f5a

Square

#5a184f
#5a4418
#185a23
#182e5a

Shades

Color #5a184f mixed toward black.

#4b1442
#3c1035
#2d0c28
#1e081a
#0f040d

Tints

Color #5a184f mixed toward white.

#8e267d
#c234ab
#d563c2
#e397d7
#f1cbeb

Tones

Color #5a184f mixed toward gray.

#551e4b
#4f2348
#4a2944
#442e40
#3f343d

Accessibility

Aa White text on this color
12.51:1
Aa Black text on this color
1.68:1

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

Under color vision deficiencies

Protanopia

#464646 · ΔE 24.3

Deuteranopia

#494d44 · ΔE 33.6

Tritanopia

#583e3c · ΔE 19.5

Achromatopsia

#343434 · ΔE 23.6

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

Code

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

Related colors

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

Frequently asked questions

#5a184f (#5a184f) is rgb(90, 24, 79) in RGB.

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