1620s, "action, state, or condition of touching," from Latin contactus "a touching" (especially "a touching of something unclean, contamination"), from past participle of contingere "to touch, seize," from assimilated form of com "with, together" (see con-) + tangere "to touch," from PIE root *tag-"to touch, handle."

Source:

https://www.etymonline.com/word/contact#etymonline_v_18265