Color #663166
A muted dark magenta.
Conversions
#663166
rgb(102, 49, 102)
hsl(300, 35.1%, 29.6%)
hsv(300, 52%, 40%)
cmyk(0%, 52%, 0%, 60%)
lab(29.36, 32.15, -20.89)
lch(29.36, 38.34, 326.99)
oklch(40.4%, 0.1061, 327.31)
hwb(300, 19.2%, 60%)
Harmony colors
Accessibility
White text reads better on this background (9.56:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#54545c · ΔE 20.4
Deuteranopia
#575a5a · ΔE 19.9
Tritanopia
#645452 · ΔE 21
Achromatopsia
#454545 · ΔE 22.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #663166;
bg-[#663166]
Related colors
Frequently asked questions
#663166 (#663166) is rgb(102, 49, 102) in RGB.
No, #663166 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 #663166, or check how it holds up for accessibility.