Color #66255b
A moderately saturated dark magenta.
Conversions
#66255b
rgb(102, 37, 91)
hsl(310.2, 46.8%, 27.3%)
hsv(310.2, 63.7%, 40%)
cmyk(0%, 63.7%, 10.8%, 60%)
lab(26.46, 36.38, -18.27)
lch(26.46, 40.71, 333.33)
oklch(38.1%, 0.1166, 334.78)
hwb(310.2, 14.5%, 60%)
Harmony colors
Accessibility
White text reads better on this background (10.6:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#525152 · ΔE 23.7
Deuteranopia
#55584f · ΔE 33
Tritanopia
#644947 · ΔE 19.5
Achromatopsia
#3f3f3f · ΔE 23.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #66255b;
bg-[#66255b]
Related colors
Frequently asked questions
#66255b (#66255b) is rgb(102, 37, 91) in RGB.
No, #66255b 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 #66255b, or check how it holds up for accessibility.