Dark Violet & Dark Violet, Teal Color Palette
:root {
--color-1: #4D1F68;
--color-2: #2C9286;
--color-3: #CA514A;
--color-4: #2F0A4E;
}
colors: {
'palette-1': '#4D1F68',
'palette-2': '#2C9286',
'palette-3': '#CA514A',
'palette-4': '#2F0A4E',
}
const palette = [
'#4D1F68',
'#2C9286',
'#CA514A',
'#2F0A4E',
];
$color-1: #4D1F68;
$color-2: #2C9286;
$color-3: #CA514A;
$color-4: #2F0A4E;
This is a cool, bold 4-colour palette with a comfortable balance of contrast and harmony.
About this color palette
This is a cool, bold 4-colour palette with a comfortable balance of contrast and harmony. It is anchored by Dark Violet (#2F0A4E) and reads as deep and moody, with an average saturation of 60% and lightness of 34%. It works well for calm, professional and modern interfaces.
The colors in this palette
Dark Violet #4D1F68
rgb(77, 31, 104) · hsl(278, 54%, 26%)
A deep, low-lightness tone — strong for text, headings and bold accents.
Teal #2C9286
rgb(44, 146, 134) · hsl(173, 54%, 37%)
A balanced mid-tone that works well for primary surfaces and UI elements.
Red #CA514A
rgb(202, 81, 74) · hsl(3, 55%, 54%)
A balanced mid-tone that works well for primary surfaces and UI elements.
Dark Violet #2F0A4E
rgb(47, 10, 78) · hsl(273, 77%, 17%)
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 |
|---|---|---|---|---|
| #2C9286 | #2F0A4E | 4.37:1 | Fail | Fail |
| #CA514A | #2F0A4E | 3.76:1 | Fail | Fail |
| #4D1F68 | #2C9286 | 3.25:1 | Fail | Fail |
| #4D1F68 | #CA514A | 2.8:1 | Fail | Fail |
| #4D1F68 | #2F0A4E | 1.34:1 | Fail | Fail |
| #2C9286 | #CA514A | 1.16:1 | Fail | Fail |
How to use these colors
- Background — Red (#CA514A): the lightest tone — a clean base for large areas
- Text — Dark Violet (#2F0A4E): the darkest tone — readable for body copy and headings
- Primary — Dark Violet (#2F0A4E): the most saturated tone — buttons, links and key UI
- Accent — Dark Violet (#4D1F68): 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 Dark Violet 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: Dark Violet (#4D1F68), Teal (#2C9286), Red (#CA514A) and Dark Violet (#2F0A4E).
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 #4D1F68, #2C9286, #CA514A and #2F0A4E. You can copy them as CSS variables, Tailwind, SCSS or JSON from the code panel above.
Is this palette accessible for text?
The colours are fairly close in contrast, so pair them carefully for text — put a very light or very dark colour behind body text, and check the contrast table above.