Magenta-colored filters filter out, that is, absorb, green light.
Green-colored things reflect green light (which hits our eyes so we see it) and absorb the rest, that is, the "red" and "blue" parts of the spectrum.
Modern plants are green due to a backwards-compatibiity issue, IIRC. The first photoynthetic plants were purple, so as to absorb the most powerful part of the solar spectrum, the green light. But they were anaerobic, that is, did not produce oxygen. When oxygen-producing cells appeared they had to use the "junk" purple light, and ended up reflecting green which they did not see much of anyway. After the Oxygen Catastrophe the purple anaerobic life mostly died off, and green plants have been owning the planet ever since. They mostly did not learn to use the green light (and turn black) even though it's now all theirs.