X-ray absorption spectroscopy is a powerful probe of local electronic and nuclear structures, providing insights into chemical processes. The theoretical prediction and interpretation of metal L-edge X-ray absorption spectra are complicated by both relativistic effects, including spin-orbit coupling and the multiconfigurational nature of the states involved. This work details an exact two-component multireference restricted active space (RAS) configuration interaction scheme that uses an exact two-component state-averaged complete active space self-consistent-field method, which includes the spin-orbit coupling in a variational manner, for the accurate description of the electronic structure before using a RAS configuration interaction method to describe the core excited states of the X-ray spectrum. Benchmark calculations are presented for a series of iron-containing complexes, with results showing key features of the spectrum being reproduced, including ligand-to-metal charge transfer and shake-up excitations.