Color #4f245e
A moderately saturated dark purple.
Conversions
#4f245e
rgb(79, 36, 94)
hsl(284.5, 44.6%, 25.5%)
hsv(284.5, 61.7%, 36.9%)
cmyk(16%, 61.7%, 0%, 63.1%)
lab(22.77, 30.6, -26.31)
lch(22.77, 40.36, 319.31)
oklch(34.7%, 0.1068, 316.52)
hwb(284.5, 14.1%, 63.1%)
Harmony colors
Accessibility
White text reads better on this background (12.02:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#404054 · ΔE 15.2
Deuteranopia
#434552 · ΔE 18.1
Tritanopia
#4d4b49 · ΔE 24.8
Achromatopsia
#363636 · ΔE 22.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #4f245e;
bg-[#4f245e]
Related colors
Frequently asked questions
#4f245e (#4f245e) is rgb(79, 36, 94) in RGB.
No, #4f245e 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 #4f245e, or check how it holds up for accessibility.