Violet & Dark Violet, Violet Color Palette
:root {
--color-1: #2C085E;
--color-2: #580FBD;
--color-3: #8B42F0;
--color-4: #C5A1F7;
}
colors: {
'palette-1': '#2C085E',
'palette-2': '#580FBD',
'palette-3': '#8B42F0',
'palette-4': '#C5A1F7',
}
const palette = [
'#2C085E',
'#580FBD',
'#8B42F0',
'#C5A1F7',
];
$color-1: #2C085E;
$color-2: #580FBD;
$color-3: #8B42F0;
$color-4: #C5A1F7;
This is a cool, vibrant 4-colour palette that combines high-contrast tones for a bold, dynamic look.
About this color palette
This is a cool, vibrant 4-colour palette that combines high-contrast tones for a bold, dynamic look. It is anchored by Violet (#580FBD) and reads as well balanced in lightness, with an average saturation of 85% and lightness of 50%. It works well for calm, professional and modern interfaces.
The colors in this palette
Dark Violet #2C085E
rgb(44, 8, 94) · hsl(265, 84%, 20%)
A deep, low-lightness tone — strong for text, headings and bold accents.
Violet #580FBD
rgb(88, 15, 189) · hsl(265, 85%, 40%)
A vivid, saturated tone that draws the eye — best for accents and highlights.
Violet #8B42F0
rgb(139, 66, 240) · hsl(265, 85%, 60%)
A vivid, saturated tone that draws the eye — best for accents and highlights.
Light Violet #C5A1F7
rgb(197, 161, 247) · hsl(265, 84%, 80%)
A light, airy tone — ideal for backgrounds and subtle fills.
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 |
|---|---|---|---|---|
| #2C085E | #C5A1F7 | 7.53:1 | Pass | Pass |
| #580FBD | #C5A1F7 | 4.43:1 | Fail | Fail |
| #2C085E | #8B42F0 | 3.17:1 | Fail | Fail |
| #8B42F0 | #C5A1F7 | 2.37:1 | Fail | Fail |
| #580FBD | #8B42F0 | 1.86:1 | Fail | Fail |
| #2C085E | #580FBD | 1.7:1 | Fail | Fail |
How to use these colors
- Background — Light Violet (#C5A1F7): the lightest tone — a clean base for large areas
- Text — Dark Violet (#2C085E): the darkest tone — readable for body copy and headings
- Primary — Violet (#580FBD): the most saturated tone — buttons, links and key UI
- Accent — Violet (#8B42F0): 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 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 (#2C085E), Violet (#580FBD), Violet (#8B42F0) and Light Violet (#C5A1F7).
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 #2C085E, #580FBD, #8B42F0 and #C5A1F7. You can copy them as CSS variables, Tailwind, SCSS or JSON from the code panel above.
Is this palette accessible for text?
Yes — Dark Violet text on Light Violet reaches a contrast ratio of 7.53:1, which meets the WCAG AAA standard for readable text.