The result comes at the end of a week, that began with a 3-1 loss at Levante, before a goalless draw with Slavia Prague in the Champions League.
Messi converted a penalty and two free-kicks, to ensure Barca stay top of LaLiga, ahead of Real Madrid on goal difference.
“It’s impossible not to depend on Messi. That’s how it works. He lights up everything.
“Today we were fluent and he scored three times. It is an advantage that we have, that our opponents fear and that is fine.
“When we win, we all win. Those who play are many, besides Leo.
“Everyone does their job,” Valverde told a press conference after the match.