Legend color does not match graph color

Could you please provide a MRE?