Skip to content
#592A8F
#8A5BC2
#C9A6E8
#211033
Background
Decorative / accent
Text · AA
Decorative / accent

Cobalt Violet Color Palette

#592A8F · #8A5BC2 · #C9A6E8 · #211033

Fail
WCAG Grade
1.81:1
Contrast Ratio
AI Prompt

Use #592A8F as the background. Use #8A5BC2 as the primary accent. Use #C9A6E8 as secondary. Use #211033 as body text/supporting color. Palette mood: Cobalt Violet — artistic, regal, mysterious.

Hex Codes, RGB & CMYK Color Values

Technical breakdown for the Cobalt Violet color scheme. Use these values for web design (HEX/RGB), print projects (CMYK), or specialized design software (HSL).

Swatch Design Role HEX RGB CMYK HSL
Background
Luminance: 5.8%
89, 42, 143 38%, 71%, 0%, 44% 268°, 55%, 36%
Decorative / accent
Luminance: 16.8%
138, 91, 194 29%, 53%, 0%, 24% 267°, 46%, 56%
Text · AA
Luminance: 45.5%
201, 166, 232 13%, 28%, 0%, 9% 272°, 59%, 78%
Decorative / accent
Luminance: 0.9%
33, 16, 51 35%, 69%, 0%, 80% 269°, 52%, 13%

Cobalt Violet Tints & Shades

Hover states, borders and elevation need lighter and darker steps of your base colors. Here are computed tints and shades for every color in the Cobalt Violet palette — click any swatch to copy its hex.

#592A8F gently saturated violet
#8A5BC2 gently saturated violet
#C9A6E8 gently saturated violet
#211033 gently saturated violet

Cobalt Violet Palette Contrast Matrix (WCAG 2.1)

Every color tested as text on every other color as background. Body copy needs 4.5:1 (AA), large text and UI components 3:1. AAA requires 7:1.

Text on Background Preview Ratio Grade Safe For
#211033 on #C9A6E8
Aa Sample Text
8.51:1 AAA Body text, headings, UI
#C9A6E8 on #211033
Aa Sample Text
8.51:1 AAA Body text, headings, UI
#C9A6E8 on #592A8F
Aa Sample Text
4.69:1 AA Body text, UI
#592A8F on #C9A6E8
Aa Sample Text
4.69:1 AA Body text, UI
#211033 on #8A5BC2
Aa Sample Text
3.67:1 Fail Large headings, UI components
#8A5BC2 on #211033
Aa Sample Text
3.67:1 Fail Large headings, UI components
#C9A6E8 on #8A5BC2
Aa Sample Text
2.31:1 Fail Decorative use only
#8A5BC2 on #C9A6E8
Aa Sample Text
2.31:1 Fail Decorative use only
#8A5BC2 on #592A8F
Aa Sample Text
2.02:1 Fail Decorative use only
#592A8F on #8A5BC2
Aa Sample Text
2.02:1 Fail Decorative use only
#211033 on #592A8F
Aa Sample Text
1.81:1 Fail Decorative use only
#592A8F on #211033
Aa Sample Text
1.81:1 Fail Decorative use only

Palette Details

Cobalt violet sits at the calm end of purple, less showy than magenta but more alive than plum. It carries an artist-studio sophistication and a hint of mystery that makes it popular for creative and beauty brands.

Color Harmony: Monochromatic

4 of 4 colors sit at essentially the same hue (269°, violet); the palette varies them by lightness and saturation rather than hue.

Hue Wheel

Single-hue palettes are the easiest to keep consistent, but neighbouring slots can look flat — separate them with lightness steps of at least 15%.

History & Design Context

Cobalt violet was first produced commercially in 1859, one of the last new pigments of the 19th century. Its expense and scarcity meant only the most successful artists, like Renoir, could use it lavishly.

Best Design Use Cases

Let cobalt violet anchor brand surfaces that should feel creative and considered. Use the lavender for lighter sections and the deep violet for text, keeping accents in the mid purple.

Measured best pair: #211033 on #C9A6E8 at 8.51:1 (AAA). Use this pair for paragraph copy; the surface roles above are not body-text prescriptions.

Industries This Palette Suits

Startups & SaaS, Retail & E-commerce, Food & Beverage, Fashion, Agencies & Services, Non-profits.

Colors That Pair Well With Cobalt Violet

Need a fifth color? These three companions are computed from the palette's own hue positions on the color wheel, so they extend the scheme without breaking its harmony.

yellow-green

directly opposite #8A5BC2 on the wheel — the strongest accent for CTAs and highlights when you need maximum energy

magenta

30° beside #8A5BC2 — a calm secondary that extends the palette without adding tension

tinted neutral

a paper-white carrying the palette's own hue — perfect for surfaces and dividers

Using Cobalt Violet Without Breaking Accessibility

  • Avoid #8A5BC2 for small UI elements on #592A8F — at 2.02:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
  • Don't set body copy in #211033 on #592A8F — 1.81:1 fails WCAG AA; keep it for large decorative headings only.
  • Don't use #C9A6E8 behind body text — this light tone works better for surfaces, badges and dividers than for reading areas.

How to Implement the Cobalt Violet Color Scheme

To use this Cobalt Violet color palette in your web project, copy the CSS variables below or open the export panel for Tailwind, SCSS and Figma formats.

Option 1: CSS Variables

:root {
  /* Cobalt Violet — ihatecolors */
  --color-bg: #592A8F;
  --color-accent: #8A5BC2;
  --color-secondary: #C9A6E8;
  --color-text: #211033;
}

Web Design Tip

#8A5BC2 on #592A8F measures 2.02:1 — below the 3:1 WCAG threshold for UI components. Use it for decoration only, or darken it with a shade from the ramp before using it for buttons, icons or borders.

Accessibility Note

#211033 on #592A8F measures 1.81:1, which fails every WCAG text threshold. The strongest pair in this palette is #211033 on #C9A6E8 at 8.51:1 — use that pair for normal text instead.

Cobalt Violet Palette — Frequently Asked Questions

What are the hex codes in the Cobalt Violet color palette?

The Cobalt Violet palette contains #592A8F, #8A5BC2, #C9A6E8, #211033. Click any swatch on this page to copy its value, or export all four at once as CSS variables, Tailwind config, SCSS or a Figma-ready list.

Is the Cobalt Violet color palette accessible (WCAG)?

Yes. #211033 on #C9A6E8 reaches 8.51:1, which passes WCAG AAA for normal text (7:1) as well as AA and the 3:1 UI threshold — use it for body copy and controls. The full contrast matrix above shows the exact score for every color-on-color pair in this palette.

What colors go well with the Cobalt Violet palette?

Beyond its own four colors, #94C25B, #B366B7, #EDEBF0 extend it naturally: the complementary hue for high-energy accents, an analogous neighbor for calm transitions, and a tinted neutral for surfaces. All three are computed from this palette's hues on the color wheel.

What mood does the Cobalt Violet palette create?

Cobalt Violet reads as artistic, regal, mysterious. Gently saturated violet drives the personality, grounded by gently saturated violet — a combination that works best when the mid-tone base gets most of the canvas.

Can I use the Cobalt Violet color palette commercially?

Yes. Individual color values can't be copyrighted, so the Cobalt Violet palette is free for personal, client and commercial work — websites, branding, apps, print and social content, with no attribution required.

How do I add the Cobalt Violet palette to Tailwind or CSS?

Use the export panel on this page: CSS variables, a Tailwind config block, SCSS variables, or a Figma copy list are generated from Cobalt Violet's exact values, including the tint and shade ramps shown above.

Similar Palettes

Live Preview
Generate Similar ✦