Color #6648ab
A moderately saturated medium blue.
Conversions
#6648ab
rgb(102, 72, 171)
hsl(258.2, 40.7%, 47.6%)
hsv(258.2, 57.9%, 67.1%)
cmyk(40.4%, 57.9%, 0%, 32.9%)
lab(38.55, 35.94, -48.86)
lch(38.55, 60.65, 306.34)
oklch(48.5%, 0.152, 293.95)
hwb(258.2, 28.2%, 32.9%)
Harmony colors
Accessibility
White text reads better on this background (6.82:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#5a5a9a · ΔE 8
Deuteranopia
#5c5e96 · ΔE 9.6
Tritanopia
#658b88 · ΔE 31.9
Achromatopsia
#5b5b5b · ΔE 25.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #6648ab;
bg-[#6648ab]
Related colors
Frequently asked questions
#6648ab (#6648ab) is rgb(102, 72, 171) in RGB.
No, #6648ab 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 #6648ab, or check how it holds up for accessibility.