Blue & Blue, Violet Color Palette
:root {
--color-1: #515DE6;
--color-2: #5234EA;
--color-3: #6C19E1;
--color-4: #851DB9;
}
colors: {
'palette-1': '#515DE6',
'palette-2': '#5234EA',
'palette-3': '#6C19E1',
'palette-4': '#851DB9',
}
const palette = [
'#515DE6',
'#5234EA',
'#6C19E1',
'#851DB9',
];
$color-1: #515DE6;
$color-2: #5234EA;
$color-3: #6C19E1;
$color-4: #851DB9;
This is a cool, high-energy 4-colour palette built from closely related tones that blend harmoniously.
About this color palette
This is a cool, high-energy 4-colour palette built from closely related tones that blend harmoniously. It is anchored by Blue (#5234EA) and reads as well balanced in lightness, with an average saturation of 77% and lightness of 52%. It works well for calm, professional and modern interfaces.
The colors in this palette
Blue #515DE6
rgb(81, 93, 230) · hsl(235, 75%, 61%)
A vivid, saturated tone that draws the eye — best for accents and highlights.
Blue #5234EA
rgb(82, 52, 234) · hsl(250, 81%, 56%)
A vivid, saturated tone that draws the eye — best for accents and highlights.
Violet #6C19E1
rgb(108, 25, 225) · hsl(265, 80%, 49%)
A vivid, saturated tone that draws the eye — best for accents and highlights.
Violet #851DB9
rgb(133, 29, 185) · hsl(280, 73%, 42%)
A vivid, saturated tone that draws the eye — best for accents and highlights.
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 |
|---|---|---|---|---|
| #515DE6 | #6C19E1 | 1.42:1 | Fail | Fail |
| #515DE6 | #851DB9 | 1.41:1 | Fail | Fail |
| #515DE6 | #5234EA | 1.34:1 | Fail | Fail |
| #5234EA | #6C19E1 | 1.06:1 | Fail | Fail |
| #5234EA | #851DB9 | 1.06:1 | Fail | Fail |
| #6C19E1 | #851DB9 | 1:1 | Fail | Fail |
How to use these colors
- Background — Blue (#515DE6): the lightest tone — a clean base for large areas
- Text — Violet (#851DB9): the darkest tone — readable for body copy and headings
- Primary — Blue (#5234EA): the most saturated tone — buttons, links and key UI
- Accent — Violet (#6C19E1): 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 Blue 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: Blue (#515DE6), Blue (#5234EA), Violet (#6C19E1) and Violet (#851DB9).
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 #515DE6, #5234EA, #6C19E1 and #851DB9. 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.