Abstract
For $\mathrm{G}=\mathrm{GL}_2,\mathrm{PGL}_2, \mathrm{SL}_2$ we prove that the perverse filtration associated with the Hitchin map on the rational cohomology of the moduli space of twisted $\mathrm{G}$-Higgs bundles on a compact Riemann surface $C$ agrees with the weight filtration on the rational cohomology of the twisted $\mathrm{G}$ character variety of $C$ when the cohomologies are identified via non-Abelian Hodge theory. The proof is accomplished by means of a study of the topology of the Hitchin map over the locus of integral spectral curves.