The primary function of CD41 is to mediate platelet aggregation, which is essential for the formation of a hemostatic plug during blood clotting. CD41, in conjunction with CD61 (β3 integrin), forms the αIIbβ3 integrin complex that binds to fibrinogen and other adhesive proteins, facilitating platelet-platelet interactions.