#592A8F
#8A5BC2
#C9A6E8
#211033
Background
Primary Accent
Secondary
Body Text

Cobalt Violet Color Palette

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

Fail
WCAG Grade
1.8:1
Contrast Ratio
1,150
Saves
3,090
AI Copies
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%
Primary Accent
Luminance: 16.8%
138, 91, 194 29%, 53%, 0%, 24% 267°, 46%, 56%
Secondary
Luminance: 45.5%
201, 166, 232 13%, 28%, 0%, 9% 272°, 59%, 78%
Body Text
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.32:1 Fail Decorative use only
#8A5BC2 on #C9A6E8
Aa Sample Text
2.32: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

Cobalt Violet Color Psychology & Meaning

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: Analogous Scheme

The Cobalt Violet palette is built using a analogous relationship between its hues. This ensures that even with high-contrast accents, the overall scheme feels balanced and intentional.

Hue Wheel

A analogous palette is often preferred by professional designers because it creates a calm, serene atmosphere by using neighboring colors.

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.

Industries This Palette Suits

Beauty, art supplies, creative agencies, fashion, spiritual wellness.

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.0: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.8: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, you can copy the following CSS variables or Tailwind CSS configuration. These roles ensure your UI maintains accessibility and visual hierarchy.

Option 1: CSS Variables

:root { 
  /* {name} Palette - ihatecolors.com */{'
'}  --color-bg: {colors[0]};{'
'}  --color-primary: {colors[1]};{'
'}  --color-secondary: {colors[2]};{'
'}  --color-text: {colors[3]};{'
'} {'}'}

Web Design Tip

Use #592A8F for the main background and #8A5BC2 for primary buttons. This creates a high-contrast focal point.

Accessibility Note

The contrast ratio between #211033 and #592A8F is 1.81:1 (Fail). Ensure your body text remains legible.

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 for its strongest pairings: #211033 on #C9A6E8 reaches 8.5:1 (AAA). For body text always keep a 4.5:1 ratio and for large UI elements 3:1 — the full contrast matrix above shows the exact score for every color-on-color combination 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 ✦
Skip to content