I'm trying to keep a singular color palette in my thesis, and I noticed that the blue of my histplots and the blue of my countplots are slightly different shades, even though I set them to the exact same hexadecimal value.
Is there a setting that I'm missing or do these different plots not just show the hexadecimal as given? I've tried playing around with the countplot saturation but it doesn't match the color. Ideally all of my histplots would have the same color as my countplots (and bar plots which use the countplot coloring too).
Below a minimum code example:
import seaborn as sns
import matplotlib.pyplot as plt
sns.set(rc={'figure.figsize':(20,10)}, font_scale=2)
plt.rcParams['axes.grid'] = False
titanic = sns.load_dataset('titanic')
fig, ax = plt.subplots(1,2)
sns.countplot(x="class", data=titanic, ax=ax[0], color='#5975a4')
sns.histplot(x="who", data=titanic, ax=ax[1], color='#5975a4')
It produces the following figure:

