Color #5f3da2
A moderately saturated medium purple.
Conversions
#5f3da2
rgb(95, 61, 162)
hsl(260.2, 45.3%, 43.7%)
hsv(260.2, 62.3%, 63.5%)
cmyk(41.4%, 62.3%, 0%, 36.5%)
lab(34.76, 38.21, -49.63)
lch(34.76, 62.63, 307.59)
oklch(45.4%, 0.156, 294.95)
hwb(260.2, 23.9%, 36.5%)
Harmony colors
Accessibility
White text reads better on this background (7.85:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#525291 · ΔE 8.8
Deuteranopia
#54568d · ΔE 10.4
Tritanopia
#5e827f · ΔE 31.7
Achromatopsia
#525252 · ΔE 26.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5f3da2;
bg-[#5f3da2]
Related colors
Frequently asked questions
#5f3da2 (#5f3da2) is rgb(95, 61, 162) in RGB.
No, #5f3da2 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 #5f3da2, or check how it holds up for accessibility.