Skip to content
Kolorvia
#5f1256

Color #5f1256

A moderately saturated dark magenta.

Conversions

HEX
#5f1256
RGB
rgb(95, 18, 86)
HSL
hsl(307, 68.1%, 22.2%)
HSV / HSB
hsv(307, 81.1%, 37.3%)
CMYK
cmyk(0%, 81.1%, 9.5%, 62.7%)
LAB
lab(22.08, 41.53, -21.9)
LCH
lch(22.08, 46.95, 332.2)
OKLCH
oklch(34.6%, 0.1344, 333.43)
HWB
hwb(307, 7.1%, 62.7%)

Harmony colors

Complementary

#125f1b

Analogous

#42125f
#5f1256
#5f1230

Triadic

#5f1256
#565f12
#12565f

Split-complementary

#5f1256
#305f12
#125f42

Tetradic

#5f1256
#5f1b12
#125f1b
#12565f

Square

#5f1256
#5f4212
#125f1b
#12305f

Shades

Color #5f1256 mixed toward black.

#4f0f48
#3f0c39
#30092b
#20061d
#10030e

Tints

Color #5f1256 mixed toward white.

#971d88
#ce27bb
#df58d0
#ea90df
#f4c7ef

Tones

Color #5f1256 mixed toward gray.

#591851
#521f4c
#4c2547
#452c42
#3f323e

Accessibility

Aa White text on this color
12.3:1
Aa Black text on this color
1.71:1

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

Under color vision deficiencies

Protanopia

#49494c · ΔE 24

Deuteranopia

#4d5149 · ΔE 34.1

Tritanopia

#5d4340 · ΔE 22

Achromatopsia

#353535 · ΔE 24.4

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

Code

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

Related colors

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

Frequently asked questions

#5f1256 (#5f1256) is rgb(95, 18, 86) in RGB.

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