Porphyrin derivatives containing magnesium that act to convert light energy in photosynthetic organisms.