Color #66317e
A moderately saturated dark purple.
Conversions
#66317e
rgb(102, 49, 126)
hsl(281.3, 44%, 34.3%)
hsv(281.3, 61.1%, 49.4%)
cmyk(19%, 61.1%, 0%, 50.6%)
lab(30.71, 37.39, -34.01)
lch(30.71, 50.54, 317.71)
oklch(41.9%, 0.1323, 313.93)
hwb(281.3, 19.2%, 50.6%)
Harmony colors
Accessibility
White text reads better on this background (9.11:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#545471 · ΔE 15.4
Deuteranopia
#575a6e · ΔE 18.1
Tritanopia
#646663 · ΔE 30.2
Achromatopsia
#484848 · ΔE 24.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #66317e;
bg-[#66317e]
Related colors
Frequently asked questions
#66317e (#66317e) is rgb(102, 49, 126) in RGB.
No, #66317e 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 #66317e, or check how it holds up for accessibility.