β-Naphthol and triarylcarbonium colorants were often used by modern and contemporary artists in materials such as inks and paints. Their poor stability and ability to fade upon exposure to light make their identification in artworks crucial for planning exhibitions and preventive conservation. Secondary ion mass spectrometry with MeV primary ions (MeV SIMS) is necessary when analyzing synthetic organic colorants (SOCs) with similar molecular structures due to its advantages in high sensitivity and soft ionization, which causes a low fragmentation of organic molecules. In this work, we applied MeV SIMS with 5 MeV Si4+ to identify selected β-naphthol and triarylcarbonium colorants from the 19th/20th century Materials Collection kept at the Academy of Fine Arts Vienna. The collection contains SOCs from renowned companies, such as I.G. Farben and I.C.I., and serves as a unique source of reference materials in the analysis of artworks. Previous research on these colorants with X-ray fluorescence analysis (XRF), micro-Raman, and Fourier transform infrared (FTIR) spectroscopies failed in the case of colorant mixtures. Similar spectral features of the SOCs within one chemical class and their low concentrations in mixtures did not lead to their identification using these techniques. MeV SIMS detected molecular ions or protonated molecules in the positive-ion mode. In the negative-ion mode, the functional groups (NO2 - and SO3 -) of β-naphthol lakes/pigments and heteropolyacid species (WO3 - and MoO3 -) characteristic of triarylcarbonium toners were determined. The results demonstrate that MeV SIMS is highly effective for identifying β-naphthol and triarylcarbonium colorants in mixtures and distinguishing between pigments, toners, lakes, and dyes.