Every time that you clear out a set of raid dens, one purple raid appears. Every time you see raid dens in a location, no more will appear until you clear all the raids that are there. Every day, the placement of the raids changes, but there is still the same number of raids. After you clear all of the raids, a new set immediately spawns. One of the raids is always a purple den.