Vinicius threatened to leave the pitch in the second half of Real Madrid's La Liga match against Valencia at the Mestalla Stadium on Sunday after being subjected to alleged monkey chants from the crowd.Â
Real Madrid, who said the abuse constituted a "hate crime", filed a complaint with the Spanish State Attorney General's Office.
"The competition committee has sanctioned Valencia CF with the partial closure of the Mestalla stadium for five matches, more specifically the Mario Kempes south stand, following the events that occurred during the First Division National League Championship match between the local team and Real Madrid CF," a statement from Spain's football federation on Tuesday said.
"It is considered proven that, as reflected by the referee in his minutes, there were racist shouts at Vinicius, a Real Madrid CF player, during the aforementioned match.
"In addition, an economic sanction of 45,000 euros is imposed on Valencia."
Valencia have 10 working days to appeal.
La Liga players and officials called for racism to be tackled in Spain in the wake of Sunday's match.
Before Tuesday night's games between Real Valladolid and Barcelona, and Celta Vigo and Girona, players from both sides stood behind banners which read 'Racism, out of football'.
Barcelona forward Raphinha removed his shirt when substituted to show a message of support for Vinicius that read: 'As long as the colour of the skin is more important than the brightness of the eyes, there will be war'.
Real Madrid forward Vinicius was set to serve a two or three-match ban after being sent off during the game at Valencia on Sunday but Spain's competition committee has rescinded that red card.
La Liga will request greater jurisdiction to punish clubs whose fans are guilty of racist abuse after feeling "powerless" at the lack of current sanctions in the wake of the latest Vinicius incident.
According to the country's laws, La Liga can currently only identify and report incidents, and punishment is rarely handed out.
Four people were arrested in Spain on Tuesday under suspicion of hanging an effigy of Vinicius off a bridge in January.
An inflatable doll dressed in a Vinicius shirt was hung from the railings with a banner that read 'Madrid hates Real Madrid' ahead of Real's Copa del Rey game with city rivals Atletico at the start of the year.
Valencia on Tuesday confirmed police have identified three fans suspected of racial abuse.
On Monday night, Vinicius tweeted: "Every round away from home is an unpleasant surprise. And there were many this season. Death wishes, hanged doll, many criminal screams ... All registered.
"But the speech always falls on 'isolated cases', 'a fan'. No, these are not isolated cases. They are continuous episodes spread across several cities in Spain (and even in a television programme)."