Color #40283a
A muted dark magenta.
Conversions
#40283a
rgb(64, 40, 58)
hsl(315, 23.1%, 20.4%)
hsv(315, 37.5%, 25.1%)
cmyk(0%, 37.5%, 9.4%, 74.9%)
lab(19.69, 14.64, -6.95)
lch(19.69, 16.21, 334.61)
oklch(31.4%, 0.046, 336.16)
hwb(315, 15.7%, 74.9%)
Harmony colors
Accessibility
White text reads better on this background (13.27:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#373736 · ΔE 16.1
Deuteranopia
#383a35 · ΔE 20.6
Tritanopia
#3f3332 · ΔE 11
Achromatopsia
#303030 · ΔE 15.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #40283a;
bg-[#40283a]
Related colors
Frequently asked questions
#40283a (#40283a) is rgb(64, 40, 58) in RGB.
No, #40283a 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 #40283a, or check how it holds up for accessibility.