Color #5e226d
A moderately saturated dark purple.
Conversions
#5e226d
rgb(94, 34, 109)
hsl(288, 52.4%, 28%)
hsv(288, 68.8%, 42.7%)
cmyk(13.8%, 68.8%, 0%, 57.3%)
lab(25.65, 39.13, -31.35)
lch(25.65, 50.14, 321.3)
oklch(37.6%, 0.1337, 319)
hwb(288, 13.3%, 57.3%)
Harmony colors
Accessibility
White text reads better on this background (10.91:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#4b4b61 · ΔE 17.6
Deuteranopia
#4e515e · ΔE 20.4
Tritanopia
#5c5654 · ΔE 26.1
Achromatopsia
#3d3d3d · ΔE 24.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5e226d;
bg-[#5e226d]
Related colors
Frequently asked questions
#5e226d (#5e226d) is rgb(94, 34, 109) in RGB.
No, #5e226d 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 #5e226d, or check how it holds up for accessibility.