Color #662956
A moderately saturated dark magenta.
Conversions
#662956
rgb(102, 41, 86)
hsl(315.7, 42.7%, 28%)
hsv(315.7, 59.8%, 40%)
cmyk(0%, 59.8%, 15.7%, 60%)
lab(26.97, 33.47, -14.2)
lch(26.97, 36.36, 337.01)
oklch(38.4%, 0.1056, 338.8)
hwb(315.7, 16.1%, 60%)
Harmony colors
Accessibility
White text reads better on this background (10.41:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#52524e · ΔE 27
Deuteranopia
#55594c · ΔE 34.7
Tritanopia
#644745 · ΔE 17.3
Achromatopsia
#404040 · ΔE 22.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #662956;
bg-[#662956]
Related colors
Frequently asked questions
#662956 (#662956) is rgb(102, 41, 86) in RGB.
No, #662956 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 #662956, or check how it holds up for accessibility.