Related, laws being passed to protect people from being discriminated against on the basis of their hair.
https://apnews.com/article/hairstyle-texture-discrimination-race-and-ethnicity-d6fd44b0226d4cd2d089953972377654
Honestly just fuck everything about sumptuary laws.
The hair style aspect does scream private school to me since those were the only schools I remember having rules about hair. We had dress codes for public school but nothing ever about hair. But I wasn't in the south so I have no clue what they get up to there
General dress codes I can understand to some extent. You can at least change out of that when you get home, but you can't grow out your hair every afternoon.