You meant 1966, correct? Trying to head off the spelling/detail police!
Nope, believe it or not, eighteen sixty six.
There was a famous case, Plessy vs Ferguson (1896), that challenged this and wound up creating the segregation doctrine that was followed until the Brown vs Board of Education (1954) case. Jones vs Mayer (1968) provided a constitutional basis for the 1866 law.