Color #40244d
A muted dark purple.
Conversions
#40244d
rgb(64, 36, 77)
hsl(281, 36.3%, 22.2%)
hsv(281, 53.2%, 30.2%)
cmyk(16.9%, 53.2%, 0%, 69.8%)
lab(19.59, 21.74, -20.12)
lch(19.59, 29.62, 317.22)
oklch(31.6%, 0.078, 314.22)
hwb(281, 14.1%, 69.8%)
Harmony colors
Accessibility
White text reads better on this background (13.31:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#363646 · ΔE 13.3
Deuteranopia
#373944 · ΔE 16
Tritanopia
#3f3f3d · ΔE 22.7
Achromatopsia
#2f2f2f · ΔE 20.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #40244d;
bg-[#40244d]
Related colors
Frequently asked questions
#40244d (#40244d) is rgb(64, 36, 77) in RGB.
No, #40244d 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 #40244d, or check how it holds up for accessibility.