Color #402467
A moderately saturated dark purple.
Conversions
#402467
rgb(64, 36, 103)
hsl(265.1, 48.2%, 27.3%)
hsv(265.1, 65%, 40.4%)
cmyk(37.9%, 65%, 0%, 59.6%)
lab(21.32, 28.85, -34.63)
lch(21.32, 45.07, 309.8)
oklch(33.4%, 0.113, 299.47)
hwb(265.1, 14.1%, 59.6%)
Harmony colors
Accessibility
White text reads better on this background (12.6:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#36365c · ΔE 9.1
Deuteranopia
#373959 · ΔE 10.8
Tritanopia
#3f5250 · ΔE 25.4
Achromatopsia
#333333 · ΔE 23.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #402467;
bg-[#402467]
Related colors
Frequently asked questions
#402467 (#402467) is rgb(64, 36, 103) in RGB.
No, #402467 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 #402467, or check how it holds up for accessibility.