Color #40253a
A muted very dark magenta.
Conversions
#40253a
rgb(64, 37, 58)
hsl(313.3, 26.7%, 19.8%)
hsv(313.3, 42.2%, 25.1%)
cmyk(0%, 42.2%, 9.4%, 74.9%)
lab(18.88, 16.62, -8.18)
lch(18.88, 18.52, 333.79)
oklch(30.7%, 0.0526, 335.29)
hwb(313.3, 14.5%, 74.9%)
Harmony colors
Accessibility
White text reads better on this background (13.6:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#363636 · ΔE 16.6
Deuteranopia
#383935 · ΔE 20.7
Tritanopia
#3f3231 · ΔE 12.1
Achromatopsia
#2e2e2e · ΔE 16.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #40253a;
bg-[#40253a]
Related colors
Frequently asked questions
#40253a (#40253a) is rgb(64, 37, 58) in RGB.
No, #40253a 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 #40253a, or check how it holds up for accessibility.