A pharmaceutical company has purchased an office complex in Basking Ridge for $4.6 million, in a deal arranged by Kislak Commercial Real Estate Services Inc. and The Garibaldi Group.