The royal styled an all-black ensemble for the somber occasion.