Color #42244b
A muted dark purple.
Conversions
#42244b
rgb(66, 36, 75)
hsl(286.2, 35.1%, 21.8%)
hsv(286.2, 52%, 29.4%)
cmyk(12%, 52%, 0%, 70.6%)
lab(19.75, 21.92, -18.48)
lch(19.75, 28.67, 319.87)
oklch(31.7%, 0.0765, 318.02)
hwb(286.2, 14.1%, 70.6%)
Harmony colors
Accessibility
White text reads better on this background (13.24:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#373744 · ΔE 14.6
Deuteranopia
#393b42 · ΔE 17.8
Tritanopia
#413e3c · ΔE 20.9
Achromatopsia
#303030 · ΔE 20
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #42244b;
bg-[#42244b]
Related colors
Frequently asked questions
#42244b (#42244b) is rgb(66, 36, 75) in RGB.
No, #42244b 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 #42244b, or check how it holds up for accessibility.