Salvi Huix Miralpéix was born to a pious and wealthy family in Santa Margarida de Vallors in the municipio of Sant Hilari Sacalm. He studied at the seminary in Vic, where he was noted for the zeal with which he pursued his studies. He was ordained a priest on September 19, 1903 by Bishop Josep Torras i Bages. After his ordination, he served as an assistant priest in rural parishes in Cóll and Sant Vicenç de Castellet. In 1907 he made his solemn profession to enter the Congregation of the Oratory of Saint Philip Neri in Vic. As an Oratorian, he founded a confraternity under the patronage of Saint Joseph, an organization intended to revitalize the spiritual and parish life of working married men. He also taught theology at the seminary of Vic. On February 16, 1928 he was appointed apostolic administrator of Ibiza and was consecrated as the titular bishop of Selymbria on April 15 of the same year by Archbishop Federico Tedeschini. On January 28, 1935 he became bishop of Lleida and on May 5 he took possession of the diocese, succeeding Bishop Manuel Irurita. During the Civil War, the Republicans attacked the bishop's palace in Lleida in July 1936. Bishop Huix Miralpéix fled and found refuge in the home of some relatives of his domestics. To avoid exposing them to the possibility of reprisal, he handed himself over at a Republican roadblock. He was imprisoned in the prison of Lleida with other Catholics, both ecclesiastics and lay people, where he distinguished himself by continuing to minister to his fellow prisoners. On August 5, 1936 he was taken from prison with twenty lay people and brought to the municipal cemetery of Lleida. There, he was forced to dig his own grave. The militants offered him freedom, but only if he would renounce his faith, which he refused. Instead, he requested that he be the last of the group to be executed so he could bless the other victims as they died. One of the men objected and shot the bishop in the right arm to stop him from administering his blessings. Undeterred, he continued with his left. Finally, he was killed by a shot to the head.
Veneration
His process of canonization is underway. In 1952 he was granted the title of Servant of God and on June 26, 2011 he was recognized as a martyr, having been killed in odium fidei. He was beatified on October 13, 2013 in Tarragona along with another 521 martyrs. His liturgical feast is kept on August 5.