Color #5e38a0
A moderately saturated medium purple.
Conversions
#5e38a0
rgb(94, 56, 160)
hsl(261.9, 48.1%, 42.4%)
hsv(261.9, 65%, 62.7%)
cmyk(41.3%, 65%, 0%, 37.3%)
lab(33.45, 40.27, -50.56)
lch(33.45, 64.64, 308.54)
oklch(44.4%, 0.1604, 295.99)
hwb(261.9, 22%, 37.3%)
Harmony colors
Accessibility
White text reads better on this background (8.24:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#50508f · ΔE 9.6
Deuteranopia
#52558b · ΔE 11.5
Tritanopia
#5d807d · ΔE 31.8
Achromatopsia
#4f4f4f · ΔE 26.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5e38a0;
bg-[#5e38a0]
Related colors
Frequently asked questions
#5e38a0 (#5e38a0) is rgb(94, 56, 160) in RGB.
No, #5e38a0 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 #5e38a0, or check how it holds up for accessibility.