I think the Jim Crow laws came into effect in the generation that immediately followed “Redemption”, mainly when those from leading southern families who were children during the Civil War and Reconstruction became adults.
The biggest factor that appears to have led to the founding of the KKK is the Union occupation. Remember that many former confederates were barred from military service and politics during this period, and their property was taken by Northerners(the “Carpetbaggers”). The main targets of the KKK seem to have been the Carpetbaggers and Scallywags(collaborators).
Many Jim Crow laws were State Laws, but you also have to account for the rise Southern Democrat control of the national government that came about in the late 19th century.