Color #412f78
A moderately saturated dark blue.
Conversions
#412f78
rgb(65, 47, 120)
hsl(254.8, 43.7%, 32.7%)
hsv(254.8, 60.8%, 47.1%)
cmyk(45.8%, 60.8%, 0%, 52.9%)
lab(25.3, 27.35, -39.15)
lch(25.3, 47.76, 304.94)
oklch(36.8%, 0.1193, 290.71)
hwb(254.8, 18.4%, 52.9%)
Harmony colors
Accessibility
White text reads better on this background (11.04:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3a3a6c · ΔE 5.9
Deuteranopia
#3b3c69 · ΔE 7.1
Tritanopia
#40615e · ΔE 28.3
Achromatopsia
#3c3c3c · ΔE 23.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #412f78;
bg-[#412f78]
Related colors
Frequently asked questions
#412f78 (#412f78) is rgb(65, 47, 120) in RGB.
No, #412f78 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 #412f78, or check how it holds up for accessibility.