Color #5e1cf6
A vivid, highly saturated medium blue.
Conversions
#5e1cf6
rgb(94, 28, 246)
hsl(258.2, 92.4%, 53.7%)
hsv(258.2, 88.6%, 96.5%)
cmyk(61.8%, 88.6%, 0%, 3.5%)
lab(37.59, 74.4, -93.84)
lch(37.59, 119.76, 308.41)
oklch(49.7%, 0.278, 283.31)
hwb(258.2, 11%, 3.5%)
Harmony colors
Accessibility
White text reads better on this background (7.06:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#4a4ada · ΔE 8.4
Deuteranopia
#4d51d3 · ΔE 10.4
Tritanopia
#5cc0ba · ΔE 50.4
Achromatopsia
#585858 · ΔE 32.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5e1cf6;
bg-[#5e1cf6]
Related colors
Frequently asked questions
#5e1cf6 (#5e1cf6) is rgb(94, 28, 246) in RGB.
No, #5e1cf6 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 #5e1cf6, or check how it holds up for accessibility.