Color #ba0781
A vivid, highly saturated dark magenta.
Conversions
#ba0781
rgb(186, 7, 129)
hsl(319.1, 92.7%, 37.8%)
hsv(319.1, 96.2%, 72.9%)
cmyk(0%, 96.2%, 30.6%, 27.1%)
lab(41.5, 69.45, -17.93)
lch(41.5, 71.73, 345.52)
oklch(52.5%, 0.218, 347.44)
hwb(319.1, 2.7%, 27.1%)
Harmony colors
Accessibility
White text reads better on this background (6.11:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#908f72 · ΔE 48.6
Deuteranopia
#979f6d · ΔE 59.8
Tritanopia
#b66360 · ΔE 23
Achromatopsia
#626262 · ΔE 27.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ba0781;
bg-[#ba0781]
Related colors
Frequently asked questions
#ba0781 (#ba0781) is rgb(186, 7, 129) in RGB.
No, #ba0781 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 #ba0781, or check how it holds up for accessibility.