Red & Violet, Teal Color Palette
:root {
--color-1: #542D79;
--color-2: #4C9EAA;
--color-3: #EC5A5E;
--color-4: #330E3F;
}
colors: {
'palette-1': '#542D79',
'palette-2': '#4C9EAA',
'palette-3': '#EC5A5E',
'palette-4': '#330E3F',
}
const palette = [
'#542D79',
'#4C9EAA',
'#EC5A5E',
'#330E3F',
];
$color-1: #542D79;
$color-2: #4C9EAA;
$color-3: #EC5A5E;
$color-4: #330E3F;
This is a cool, easygoing 4-colour palette pairing strongly contrasting colours for real visual punch.
About this color palette
This is a cool, easygoing 4-colour palette pairing strongly contrasting colours for real visual punch. It is anchored by Red (#EC5A5E) and reads as well balanced in lightness, with an average saturation of 57% and lightness of 40%. It works well for calm, professional and modern interfaces.
The colors in this palette
Violet #542D79
rgb(84, 45, 121) · hsl(271, 46%, 33%)
A balanced mid-tone that works well for primary surfaces and UI elements.
Teal #4C9EAA
rgb(76, 158, 170) · hsl(188, 38%, 48%)
A balanced mid-tone that works well for primary surfaces and UI elements.
Red #EC5A5E
rgb(236, 90, 94) · hsl(358, 79%, 64%)
A vivid, saturated tone that draws the eye — best for accents and highlights.
Dark Violet #330E3F
rgb(51, 14, 63) · hsl(285, 64%, 15%)
A deep, low-lightness tone — strong for text, headings and bold accents.
Accessibility & contrast
Colour contrast decides whether text stays readable. Here is how each pair of colours in this palette performs when one is used as text on the other, measured against the WCAG standard (AA needs 4.5:1, AAA needs 7:1).
| Text | Background | Ratio | AA | AAA |
|---|---|---|---|---|
| #4C9EAA | #330E3F | 5.31:1 | Pass | Fail |
| #EC5A5E | #330E3F | 4.85:1 | Pass | Fail |
| #542D79 | #4C9EAA | 3.34:1 | Fail | Fail |
| #542D79 | #EC5A5E | 3.05:1 | Fail | Fail |
| #542D79 | #330E3F | 1.59:1 | Fail | Fail |
| #4C9EAA | #EC5A5E | 1.09:1 | Fail | Fail |
How to use these colors
- Background — Red (#EC5A5E): the lightest tone — a clean base for large areas
- Text — Dark Violet (#330E3F): the darkest tone — readable for body copy and headings
- Primary — Dark Violet (#330E3F): the most saturated tone — buttons, links and key UI
- Accent — Violet (#542D79): a secondary highlight for badges and details
Colors that pair with this palette
Want to extend this palette? These colours pair naturally with its dominant Red tone, based on colour-wheel harmony. Tap a swatch to explore that colour family.
Frequently asked questions
What colours are in this palette?
This palette has 4 colours: Violet (#542D79), Teal (#4C9EAA), Red (#EC5A5E) and Dark Violet (#330E3F).
Is this a warm or cool colour palette?
It is a cool palette — its tones lean toward blues, greens and purples, which feel calm and modern.
What are the hex codes for this palette?
The hex codes are #542D79, #4C9EAA, #EC5A5E and #330E3F. You can copy them as CSS variables, Tailwind, SCSS or JSON from the code panel above.
Is this palette accessible for text?
Yes — Teal text on Dark Violet reaches a contrast ratio of 5.31:1, which meets the WCAG AA standard for readable text.