Color #662b6f
A moderately saturated dark magenta.
Conversions
#662b6f
rgb(102, 43, 111)
hsl(292.1, 44.2%, 30.2%)
hsv(292.1, 61.3%, 43.5%)
cmyk(8.1%, 61.3%, 0%, 56.5%)
lab(28.64, 37.24, -27.79)
lch(28.64, 46.47, 323.27)
oklch(40.1%, 0.1259, 322.16)
hwb(292.1, 16.9%, 56.5%)
Harmony colors
Accessibility
White text reads better on this background (9.81:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#535264 · ΔE 18.1
Deuteranopia
#565961 · ΔE 21.6
Tritanopia
#645957 · ΔE 24.4
Achromatopsia
#444444 · ΔE 24.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #662b6f;
bg-[#662b6f]
Related colors
Frequently asked questions
#662b6f (#662b6f) is rgb(102, 43, 111) in RGB.
No, #662b6f 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 #662b6f, or check how it holds up for accessibility.