There is a reliable Washington DC police presence, especially around the main tourist areas, and violent crimes are generally very low. As a solo traveler, you'll just need to do your research to avoid dangerous areas and take extra caution when making your way through the city after dark.