Lividity happens after the heart has stopped beating and the blood pools in the body. The body turns a bruised, reddish, purple color.
No, rigor happens within about 3-6 hrs levidity happens about 8hrs after death. It's when the blood pools up under the pt.
Upper parts will turn plae due to lack of blood, lower parts will turn dark blue or purple as the blood pools inside the body, this is called levidity.