Skip to content
Kolorvia
#51255f

Color #51255f

A moderately saturated dark purple.

Conversions

HEX
#51255f
RGB
rgb(81, 37, 95)
HSL
hsl(285.5, 43.9%, 25.9%)
HSV / HSB
hsv(285.5, 61.1%, 37.3%)
CMYK
cmyk(14.7%, 61.1%, 0%, 62.7%)
LAB
lab(23.33, 30.86, -26.04)
LCH
lch(23.33, 40.38, 319.84)
OKLCH
oklch(35.2%, 0.1072, 317.31)
HWB
hwb(285.5, 14.5%, 62.7%)

Harmony colors

Complementary

#335f25

Analogous

#34255f
#51255f
#5f2550

Triadic

#51255f
#5f5125
#255f51

Split-complementary

#51255f
#505f25
#255f34

Tetradic

#51255f
#5f2533
#335f25
#255f51

Square

#51255f
#5f3425
#335f25
#25505f

Shades

Color #51255f mixed toward black.

#441f4f
#36193f
#291330
#1b0c20
#0e0610

Tints

Color #51255f mixed toward white.

#78378c
#9e4ab8
#b677ca
#cea4dc
#e7d2ed

Tones

Color #51255f mixed toward gray.

#4f2a5a
#4c2f55
#4a3451
#47384c
#453d47

Accessibility

Aa White text on this color
11.8:1
Aa Black text on this color
1.78:1

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

Under color vision deficiencies

Protanopia

#424255 · ΔE 15.7

Deuteranopia

#444753 · ΔE 18.7

Tritanopia

#4f4c4a · ΔE 24.5

Achromatopsia

#383838 · ΔE 23

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

Code

CSS
background-color: #51255f;
Tailwind (arbitrary value)
bg-[#51255f]

Related colors

Medium Orchid #ba55d3
Dark Violet #9400d3
Dark Orchid #9932cc
Indigo #4b0082
Blue Violet #8a2be2
Dark Magenta #8b008b

Frequently asked questions

#51255f (#51255f) is rgb(81, 37, 95) in RGB.

No, #51255f 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 #51255f, 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.