Violet & Dark Violet, Violet Color Palette — PaletteCSS
Back to palettes

Violet & Dark Violet, Violet Color Palette

#2A0561 42, 5, 97
#540AC2 84, 10, 194
#873DF5 135, 61, 245
#C39EFA 195, 158, 250
#2A0561
Color 1
#540AC2
Color 2
#873DF5
Color 3
#C39EFA
Color 4
:root {
  --color-1: #2A0561;
  --color-2: #540AC2;
  --color-3: #873DF5;
  --color-4: #C39EFA;
}
colors: {
  'palette-1': '#2A0561',
  'palette-2': '#540AC2',
  'palette-3': '#873DF5',
  'palette-4': '#C39EFA',
}
const palette = [
  '#2A0561',
  '#540AC2',
  '#873DF5',
  '#C39EFA',
];
$color-1: #2A0561;
$color-2: #540AC2;
$color-3: #873DF5;
$color-4: #C39EFA;
Palette Codes 4 COLORS

This is a cool, high-energy 4-colour palette that combines high-contrast tones for a bold, dynamic look.

867 Views
Added Jun 2026
Copy & Download

About this color palette

This is a cool, high-energy 4-colour palette that combines high-contrast tones for a bold, dynamic look. It is anchored by Violet (#873DF5) and reads as well balanced in lightness, with an average saturation of 90% and lightness of 50%. It works well for calm, professional and modern interfaces.

The colors in this palette

Dark Violet #2A0561

rgb(42, 5, 97) · hsl(264, 90%, 20%)

A deep, low-lightness tone — strong for text, headings and bold accents.

Violet #540AC2

rgb(84, 10, 194) · hsl(264, 90%, 40%)

A vivid, saturated tone that draws the eye — best for accents and highlights.

Violet #873DF5

rgb(135, 61, 245) · hsl(264, 90%, 60%)

A vivid, saturated tone that draws the eye — best for accents and highlights.

Light Violet #C39EFA

rgb(195, 158, 250) · hsl(264, 90%, 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).

TextBackgroundRatioAAAAA
#2A0561 #C39EFA 7.42:1 Pass Pass
#540AC2 #C39EFA 4.36:1 Fail Fail
#2A0561 #873DF5 3.11:1 Fail Fail
#873DF5 #C39EFA 2.39:1 Fail Fail
#540AC2 #873DF5 1.83:1 Fail Fail
#2A0561 #540AC2 1.7:1 Fail Fail

How to use these colors

  • Background — Light Violet (#C39EFA): the lightest tone — a clean base for large areas
  • Text — Dark Violet (#2A0561): the darkest tone — readable for body copy and headings
  • Primary — Violet (#873DF5): the most saturated tone — buttons, links and key UI
  • Accent — Dark Violet (#2A0561): 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 (#2A0561), Violet (#540AC2), Violet (#873DF5) and Light Violet (#C39EFA).

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 #2A0561, #540AC2, #873DF5 and #C39EFA. 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.42:1, which meets the WCAG AAA standard for readable text.

Related Palettes

Copied!