Color #40263e
A muted dark magenta.
Conversions
#40263e
rgb(64, 38, 62)
hsl(304.6, 25.5%, 20%)
hsv(304.6, 40.6%, 25.1%)
cmyk(0%, 40.6%, 3.1%, 74.9%)
lab(19.33, 16.84, -10.27)
lch(19.33, 19.72, 328.62)
oklch(31.1%, 0.0549, 329.56)
hwb(304.6, 14.9%, 74.9%)
Harmony colors
Accessibility
White text reads better on this background (13.42:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#363639 · ΔE 15.7
Deuteranopia
#383a38 · ΔE 20.4
Tritanopia
#3f3534 · ΔE 13.8
Achromatopsia
#2f2f2f · ΔE 16.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #40263e;
bg-[#40263e]
Related colors
Frequently asked questions
#40263e (#40263e) is rgb(64, 38, 62) in RGB.
No, #40263e 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 #40263e, or check how it holds up for accessibility.