The purple gallinule (Porphyrio martinicus) is a swamphen since it has the genus Porphyrio. They are in the order Gruiformes, which means "crane-like", and within the order there are cranes, rails, and crakes. The purple gallinule is a rail species which places them into the family, Rallidae. They are also known locally as the yellow-legged gallinule. The specific name martinica denotes "of Martinique".