In this essay I highlight the close relationship that exists between the literary text, the constructions-representations of identities in a given context and the practices of inequality, exploitation and domination such as racism. My starting point is the conception of the literary text as a sociocultural practice that materializes, works, produces, molds, elaborates and reworks identities, as well as ideologies (imaginaries, mental representations and value systems) and the social practices linked to these. Thereby, the present text is organized in the connection of three main themes: literature as social and ideological practice, identities and racism.