Color #841fa1
A moderately saturated dark purple.
Conversions
#841fa1
rgb(132, 31, 161)
hsl(286.6, 67.7%, 37.6%)
hsv(286.6, 80.7%, 63.1%)
cmyk(18%, 80.7%, 0%, 36.9%)
lab(34.92, 59.08, -48.52)
lch(34.92, 76.45, 320.61)
oklch(46.6%, 0.2009, 317.12)
hwb(286.6, 12.2%, 36.9%)
Harmony colors
Accessibility
White text reads better on this background (7.8:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#67678f · ΔE 21
Deuteranopia
#6c718a · ΔE 24.5
Tritanopia
#817e7a · ΔE 35.2
Achromatopsia
#525252 · ΔE 28.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #841fa1;
bg-[#841fa1]
Related colors
Frequently asked questions
#841fa1 (#841fa1) is rgb(132, 31, 161) in RGB.
No, #841fa1 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 #841fa1, or check how it holds up for accessibility.