Override global Sass variables from theme

I really need this.

I have a default primary colour: 4d238c. The issue is the color for $primary-secondary that is being generated (#a179de) doesn’t pass accessability guidelines, so i need to make it darker,

It seems laborious to change it in all places where the system is using the secondary colour when I could just over write $primary-secondary : red;