The Origin of the Name "Purple Forbidden City" The Forbidden City was the imperial palace of the Ming and Qing Dynasties, where 24 emperors lived and ruled China for 491 years. So, why is this palace also called the Purple Forbidden City?