Color #654f9d
A muted medium blue.
Conversions
#654f9d
rgb(101, 79, 157)
hsl(256.9, 33.1%, 46.3%)
hsv(256.9, 49.7%, 61.6%)
cmyk(35.7%, 49.7%, 0%, 38.4%)
lab(39.23, 27.55, -39.42)
lch(39.23, 48.09, 304.95)
oklch(48.7%, 0.1222, 294.41)
hwb(256.9, 31%, 38.4%)
Harmony colors
Accessibility
White text reads better on this background (6.65:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#5c5c8f · ΔE 6.8
Deuteranopia
#5d5f8b · ΔE 8.4
Tritanopia
#648280 · ΔE 27.9
Achromatopsia
#5c5c5c · ΔE 23.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #654f9d;
bg-[#654f9d]
Related colors
Frequently asked questions
#654f9d (#654f9d) is rgb(101, 79, 157) in RGB.
No, #654f9d 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 #654f9d, or check how it holds up for accessibility.