Umbilical cord

My baby is 5 days old and his umbilical cord has a bit of a purple tint. There was some blood on his shirt earlier from it. It doesn't seem to bother him. Is the color normal? It doesn't look infected or anything and I wonder if it's from his diaper rubbing it even though I fold it down.