No. Contempt is to hold a person or thing of which you have some knowledge in low regard.
Prejudice is to pre judge a person or thing with no previous knowledge or experience of the person or thing, without forming your own conclusions based on personal experience or knowledge.