A single indigo does all the work here, set between a periwinkle highlight and an ink deep enough for dense product screens. The surface is barely tinted violet so the primary never looks out of place.
Ratios are WCAG 2 contrast between the roles as assigned above. AA needs 4.5:1 for body text, 3:1 for large text.
:root {
--text: #14152E;
--secondary: #292B54;
--primary: #5B54E8;
--accent: #9A93F7;
--surface: #EEEDFC;
}
$ocean-violet-text: #14152E; $ocean-violet-secondary: #292B54; $ocean-violet-primary: #5B54E8; $ocean-violet-accent: #9A93F7; $ocean-violet-surface: #EEEDFC;
// tailwind.config.js — theme.extend.colors
colors: {
'ocean-violet': {
'text': '#14152E',
'secondary': '#292B54',
'primary': '#5B54E8',
'accent': '#9A93F7',
'surface': '#EEEDFC',
},
}
{
"ocean-violet": {
"text": {
"value": "#14152E",
"type": "color"
},
"secondary": {
"value": "#292B54",
"type": "color"
},
"primary": {
"value": "#5B54E8",
"type": "color"
},
"accent": {
"value": "#9A93F7",
"type": "color"
},
"surface": {
"value": "#EEEDFC",
"type": "color"
}
}
}
{
"text": "#14152E",
"secondary": "#292B54",
"primary": "#5B54E8",
"accent": "#9A93F7",
"surface": "#EEEDFC"
}
/* Paste into Canva → Brand Kit → Brand Colors */ #14152E #292B54 #5B54E8 #9A93F7 #EEEDFC