Color #511aff
A vivid, highly saturated medium blue.
Conversions
#511aff
rgb(81, 26, 255)
hsl(254.4, 100%, 55.1%)
hsv(254.4, 89.8%, 100%)
cmyk(68.2%, 89.8%, 0%, 0%)
lab(37.31, 76.31, -99.41)
lch(37.31, 125.32, 307.51)
oklch(49.5%, 0.2899, 278.25)
hwb(254.4, 10.2%, 0%)
Harmony colors
Accessibility
White text reads better on this background (7.14:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#403fe2 · ΔE 6.1
Deuteranopia
#4246da · ΔE 7.9
Tritanopia
#4fc7c0 · ΔE 52.7
Achromatopsia
#585858 · ΔE 32.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #511aff;
bg-[#511aff]
Related colors
Frequently asked questions
#511aff (#511aff) is rgb(81, 26, 255) in RGB.
No, #511aff 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 #511aff, or check how it holds up for accessibility.