Skip to content
Kolorvia
#51256e

Color #51256e

A moderately saturated dark purple.

Conversions

HEX
#51256e
RGB
rgb(81, 37, 110)
HSL
hsl(276.2, 49.7%, 28.8%)
HSV / HSB
hsv(276.2, 66.4%, 43.1%)
CMYK
cmyk(26.4%, 66.4%, 0%, 56.9%)
LAB
lab(24.32, 34.49, -34.23)
LCH
lch(24.32, 48.59, 315.22)
OKLCH
oklch(36.3%, 0.1248, 309.28)
HWB
hwb(276.2, 14.5%, 56.9%)

Harmony colors

Complementary

#426e25

Analogous

#2c256e
#51256e
#6e2566

Triadic

#51256e
#6e5125
#256e51

Split-complementary

#51256e
#666e25
#256e2c

Tetradic

#51256e
#6e2542
#426e25
#256e51

Square

#51256e
#6e2c25
#426e25
#25666e

Shades

Color #51256e mixed toward black.

#431f5c
#361949
#281237
#1b0c25
#0d0612

Tints

Color #51256e mixed toward white.

#72349b
#924ac2
#ae77d1
#c9a4e1
#e4d2f0

Tones

Color #51256e mixed toward gray.

#502b68
#4e3162
#4d375c
#4c3d56
#4b4350

Accessibility

Aa White text on this color
11.42:1
Aa Black text on this color
1.84:1

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

Under color vision deficiencies

Protanopia

#424262 · ΔE 13.2

Deuteranopia

#44475f · ΔE 15.6

Tritanopia

#4f5755 · ΔE 25

Achromatopsia

#3a3a3a · ΔE 24.1

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

Code

CSS
background-color: #51256e;
Tailwind (arbitrary value)
bg-[#51256e]

Related colors

Indigo #4b0082
Dark Orchid #9932cc
Blue Violet #8a2be2
Dark Violet #9400d3
Rebecca Purple #663399
Medium Orchid #ba55d3

Frequently asked questions

#51256e (#51256e) is rgb(81, 37, 110) in RGB.

No, #51256e 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 #51256e, 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.