The only optimism I see in the book is that Ralph breaks down and cries for the deaths of his fellow companions when he is rescued. He does realize the evil ways of Jack and his hunters. He is forever changed by the actions of Jack and his hunters. Ralph is saved from the evil ways of Jack and his hunters. He maintained some sort of civilization among the savage behavior of Jack and especially Roger.
[Ralph] seems to be genuinely interested in the welfare of the entire group and can get along with all kinds of people. Perhaps he gets his sense of natural authority from his father, a commander in the Navy. He also has above-average powers of observation.