Iodine is named after a purple cloud. The element announced itself as a violet vapor, and both of the chemists who raced to name it chose a Greek word for that color.
The discovery was an accident of war. In 1811 Bernard Courtois was making saltpeter, an ingredient of gunpowder, during the Napoleonic Wars. His raw material was ash made from seaweed gathered on the coasts of Normandy and Brittany. While treating the residue with sulfuric acid, he added too much. A violet vapor rose and condensed into dark, shiny crystals.
Courtois lacked the money to investigate further, so he handed samples to other chemists. One went to Joseph Louis Gay-Lussac. Another reached André-Marie Ampère, who passed his to the visiting English chemist Humphry Davy. Both men soon published, and a quarrel over priority followed. In the end both credited Courtois as the discoverer.
Gay-Lussac proposed the French name iode. Davy wanted something different. In his paper for the Royal Society he wrote: "By terming it iodine, from ἰώδης, violaceous, this confusion will be avoided." The new name would also be "more analogous to chlorine and fluorine."
Both names rest on Greek ioeides, "violet-colored." Etymonline breaks it into ion, "the violet" or a dark blue flower, and eidos, "appearance." The color refers to the vapor given off when the crystals are heated.
Davy had a template ready. He had named chlorine himself in 1810, from Greek khloros, "pale green," with the chemical suffix -ine. Iodine joined it as another element named for how it looks. A few years earlier, in 1804, Smithson Tennant had named iridium after the Greek for "rainbow," for the many colors it showed as it dissolved.
Davy's form is the one English kept. His case was partly about tidiness: chemically similar elements, he argued, should have names that sound alike.