Color #664d8b
A muted medium purple.
Conversions
#664d8b
rgb(102, 77, 139)
hsl(264.2, 28.7%, 42.4%)
hsv(264.2, 44.6%, 54.5%)
cmyk(26.6%, 44.6%, 0%, 45.5%)
lab(37.84, 24.18, -30.74)
lch(37.84, 39.11, 308.19)
oklch(47.4%, 0.1005, 301.29)
hwb(264.2, 30.2%, 45.5%)
Harmony colors
Accessibility
White text reads better on this background (7:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#5c5c7f · ΔE 8.8
Deuteranopia
#5e5f7c · ΔE 10.6
Tritanopia
#657573 · ΔE 24.9
Achromatopsia
#595959 · ΔE 22.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #664d8b;
bg-[#664d8b]
Related colors
Frequently asked questions
#664d8b (#664d8b) is rgb(102, 77, 139) in RGB.
No, #664d8b 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 #664d8b, or check how it holds up for accessibility.