Generally speaking, it's a safe area. Still, it probably isn't good to wander around alone in many places in Rome in the wee hours of the morning. If you don't plan to do that, just keep to the more well-traveled areas and you should be safe both day and night.