Apparel maker Kellwood Company has finally agreed to a US$542m takeover by private equity firm Sun Capital Partners Inc, putting an end to months of wrangling between the two companies.