Color #662f75
A moderately saturated dark purple.
Conversions
#662f75
rgb(102, 47, 117)
hsl(287.1, 42.7%, 32.2%)
hsv(287.1, 59.8%, 45.9%)
cmyk(12.8%, 59.8%, 0%, 54.1%)
lab(29.77, 36.43, -29.83)
lch(29.77, 47.08, 320.69)
oklch(41%, 0.1256, 318.58)
hwb(287.1, 18.4%, 54.1%)
Harmony colors
Accessibility
White text reads better on this background (9.42:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#545369 · ΔE 16.7
Deuteranopia
#565a66 · ΔE 20.2
Tritanopia
#645e5c · ΔE 25.5
Achromatopsia
#464646 · ΔE 24.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #662f75;
bg-[#662f75]
Related colors
Frequently asked questions
#662f75 (#662f75) is rgb(102, 47, 117) in RGB.
No, #662f75 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 #662f75, or check how it holds up for accessibility.