It is parenterally used to treat malaria.