Color #642f76
A moderately saturated dark purple.
Conversions
#642f76
rgb(100, 47, 118)
hsl(284.8, 43%, 32.4%)
hsv(284.8, 60.2%, 46.3%)
cmyk(15.3%, 60.2%, 0%, 53.7%)
lab(29.54, 36.09, -30.84)
lch(29.54, 47.47, 319.49)
oklch(40.8%, 0.1257, 316.77)
hwb(284.8, 18.4%, 53.7%)
Harmony colors
Accessibility
White text reads better on this background (9.5:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#52526a · ΔE 16.2
Deuteranopia
#555867 · ΔE 19.2
Tritanopia
#625f5d · ΔE 26.4
Achromatopsia
#464646 · ΔE 24.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #642f76;
bg-[#642f76]
Related colors
Frequently asked questions
#642f76 (#642f76) is rgb(100, 47, 118) in RGB.
No, #642f76 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 #642f76, or check how it holds up for accessibility.