Color #9b2a8a
A moderately saturated dark magenta.
Conversions
#9b2a8a
rgb(155, 42, 138)
hsl(309, 57.4%, 38.6%)
hsv(309, 72.9%, 60.8%)
cmyk(0%, 72.9%, 11%, 39.2%)
lab(38.66, 56.42, -28.33)
lch(38.66, 63.13, 333.34)
oklch(49.5%, 0.1816, 334.78)
hwb(309, 16.5%, 39.2%)
Harmony colors
Accessibility
White text reads better on this background (6.79:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7a7a7b · ΔE 28.5
Deuteranopia
#7f8577 · ΔE 42.5
Tritanopia
#986d6a · ΔE 25.6
Achromatopsia
#5b5b5b · ΔE 26.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9b2a8a;
bg-[#9b2a8a]
Related colors
Frequently asked questions
#9b2a8a (#9b2a8a) is rgb(155, 42, 138) in RGB.
No, #9b2a8a 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 #9b2a8a, or check how it holds up for accessibility.