Color #51427a
A muted dark blue.
Conversions
#51427a
rgb(81, 66, 122)
hsl(256.1, 29.8%, 36.9%)
hsv(256.1, 45.9%, 47.8%)
cmyk(33.6%, 45.9%, 0%, 52.2%)
lab(31.92, 20.09, -29.73)
lch(31.92, 35.88, 304.05)
oklch(42.1%, 0.0917, 294.47)
hwb(256.1, 25.9%, 52.2%)
Harmony colors
Accessibility
White text reads better on this background (8.71:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#4b4b70 · ΔE 6
Deuteranopia
#4c4d6d · ΔE 7.5
Tritanopia
#506664 · ΔE 25.2
Achromatopsia
#4b4b4b · ΔE 21.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #51427a;
bg-[#51427a]
Related colors
Frequently asked questions
#51427a (#51427a) is rgb(81, 66, 122) in RGB.
No, #51427a is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #51427a, or check how it holds up for accessibility.