The purple dinosaur is coming to the silver screen.

Mattel Films and actor Daniel Kaluuya, of “Get Out” and “Black Panther,” are excavating “Barney & Friends” from the ’90s children’s programming burial ground — and reconstructing it as a live-action feature.

“Barney was a ubiquitous figure in many of our childhoods, then he disappeared into the shadows left misunderstood,” Kaluuya, 30, told the Hollywood Reporter, somewhat ominously. “We’re excited to explore this compelling modern-day hero and see if his message of ‘I love you, you love me’ can stand the test of time.”

Mattel Films head Robbie Brenner told the outlet that “the project will speak to the nostalgia of the brand in a way that will resonate with adults, while entertaining today’s kids.”

The show about the big purple Tyrannosaurus rex puppet “from our imagination” and his Backyard Gang of prehistoric buddies — BJ the Protoceratops and Baby Bop, a k a “Sissy,” the Triceratops — originally ran from 1992 to 2009 on PBS Kids.

Both Selena Gomez, 27, and Demi Lovato, 27, made their acting debuts on the show back in the day.

In the show’s final sequence, Barney and children sing the iconic song — the last lyric is “Won’t you say you love me, too?,” before Barney turns back into a stuffed animal and winks at the closing credits.

Mattel has a number of other nostalgic movie adaptions in the works, including of “Masters of the Universe,” and “Barbie.”