That depends on what you want from your onion. A sweet or purple onion will give you soft sweet onion notes. If you want the bright onion flavor that will likely stand up to the other seasonings in chili, you'll want to use a white onion.