Skip to content
Kolorvia
#51397b

Color #51397b

A muted dark purple.

Conversions

HEX
#51397b
RGB
rgb(81, 57, 123)
HSL
hsl(261.8, 36.7%, 35.3%)
HSV / HSB
hsv(261.8, 53.7%, 48.2%)
CMYK
cmyk(34.1%, 53.7%, 0%, 51.8%)
LAB
lab(29.68, 26.1, -33.92)
LCH
lch(29.68, 42.8, 307.58)
OKLCH
oklch(40.5%, 0.1086, 298.19)
HWB
hwb(261.8, 22.4%, 51.8%)

Harmony colors

Complementary

#637b39

Analogous

#39427b
#51397b
#72397b

Triadic

#51397b
#7b5139
#397b51

Split-complementary

#51397b
#7b7239
#427b39

Tetradic

#51397b
#7b3963
#637b39
#397b51

Square

#51397b
#7b3942
#637b39
#397b72

Shades

Color #51397b mixed toward black.

#432f67
#362652
#281c3e
#1b1329
#0d0915

Tints

Color #51397b mixed toward white.

#6a4aa1
#8669b9
#a48ecb
#c2b4dc
#e1d9ee

Tones

Color #51397b mixed toward gray.

#523e76
#544470
#56496b
#574f65
#595560

Accessibility

Aa White text on this color
9.45:1
Aa Black text on this color
2.22:1

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

Under color vision deficiencies

Protanopia

#48486f · ΔE 8.1

Deuteranopia

#494b6c · ΔE 9.9

Tritanopia

#506562 · ΔE 26.4

Achromatopsia

#464646 · ΔE 22.9

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

Code

CSS
background-color: #51397b;
Tailwind (arbitrary value)
bg-[#51397b]

Related colors

Medium Purple #9370db
Rebecca Purple #663399
Blue Violet #8a2be2
Indigo #4b0082
Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee

Frequently asked questions

#51397b (#51397b) is rgb(81, 57, 123) in RGB.

No, #51397b 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 #51397b, 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.