Skip to content
Kolorvia
#5f235b

Color #5f235b

A moderately saturated dark magenta.

Conversions

HEX
#5f235b
RGB
rgb(95, 35, 91)
HSL
hsl(304, 46.2%, 25.5%)
HSV / HSB
hsv(304, 63.2%, 37.3%)
CMYK
cmyk(0%, 63.2%, 4.2%, 62.7%)
LAB
lab(24.92, 35.25, -20.76)
LCH
lch(24.92, 40.91, 329.5)
OKLCH
oklch(36.8%, 0.1149, 330.27)
HWB
hwb(304, 13.7%, 62.7%)

Harmony colors

Complementary

#235f27

Analogous

#45235f
#5f235b
#5f233d

Triadic

#5f235b
#5b5f23
#235b5f

Split-complementary

#5f235b
#3d5f23
#235f45

Tetradic

#5f235b
#5f2723
#235f27
#235b5f

Square

#5f235b
#5f4523
#235f27
#233d5f

Shades

Color #5f235b mixed toward black.

#4f1d4c
#3f173d
#30112e
#200c1e
#10060f

Tints

Color #5f235b mixed toward white.

#8d3487
#bb46b3
#cc74c6
#dda2d9
#eed1ec

Tones

Color #5f235b mixed toward gray.

#5a2857
#552d52
#50324e
#4b374a
#463c45

Accessibility

Aa White text on this color
11.18:1
Aa Black text on this color
1.88:1

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

Under color vision deficiencies

Protanopia

#4c4b52 · ΔE 21.1

Deuteranopia

#4f524f · ΔE 29.1

Tritanopia

#5d4947 · ΔE 20.8

Achromatopsia

#3b3b3b · ΔE 23.4

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

Code

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

Related colors

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

Frequently asked questions

#5f235b (#5f235b) is rgb(95, 35, 91) in RGB.

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