Violet Navy color code: #2E2C5F

A navy with the red channel raised just enough to tilt it toward purple.

Purple Navy
#2E2C5F

Violet Navy · rgb(46, 44, 95)

Every format for Violet Navy

HEX
#2E2C5F
RGB
rgb(46, 44, 95)
HSL
hsl(242, 37%, 27%)
HSV
242°, 54%, 37%
CMYK
52%, 54%, 0%, 63%
Lightness
27% · dark

Hue sits at 242°, which makes Violet Navy a true blue navy, with 37% saturation. In the Purple Navy family it reads as a dark option.

Text contrast on Violet Navy

Contrast ratios are calculated using the WCAG 2.1 relative luminance formula. Normal body text needs 4.5:1 and large text needs 3:1 to pass AA.

White text on Violet Navy

The quick brown fox jumps over the lazy dog.

12.79:1 — AAA for normal text

Black text on Violet Navy

The quick brown fox jumps over the lazy dog.

1.64:1 — below AA, decorative use only

Violet Navy text on white

The quick brown fox jumps over the lazy dog.

12.79:1 — AAA for normal text

Accessibility notes

  • Pair Violet Navy with white text for the strongest reading experience: that combination gives 12.79:1.
  • Used as a text colour on white, it clears the 3:1 bar for large headings.
  • Never rely on Violet Navy alone to communicate state. Add an icon, label or underline so the meaning survives for colour-blind users and in greyscale printing.
  • When placing text over a photograph tinted with Violet Navy, add a solid overlay first. Contrast measured against a flat colour does not hold over varying imagery.

Using Violet Navy in CSS and HTML

CSS example

:root {
  --violet-navy: #2E2C5F;
}

.panel {
  background-color: var(--violet-navy);
  color: #FFFFFF;
  border: 1px solid #2E2C5F;
}

HTML example

<div style="background-color: #2E2C5F; color: #FFFFFF; padding: 1rem;">
  Violet Navy #2E2C5F
</div>

Common uses

  • Page and section backgrounds in dark interfaces, where it holds white text cleanly.
  • Purple Navy palettes for brand systems that need a dependable cool anchor.
  • Print work where a deep blue is preferred to black, using the CMYK build 52%, 54%, 0%, 63%.
  • Data visualisation, as one step in a lightness-based navy scale.

Design recommendations

  • Build lighter and darker variants by changing only the lightness in hsl(242, 37%, 27%). Keeping hue fixed is what makes a scale look intentional.
  • Give Violet Navy at least one warm counterweight. A cool palette with no warm accent tends to read as cold rather than calm.
  • Saturation is moderate, which makes this shade forgiving across large areas and long reading sessions.

Complementary and matching colors

Each of these is derived from the hue, saturation and lightness of Violet Navy. Click a swatch to copy it.

Complementary #9A9D48
Split complement #9D7648
Warm accent #A5CB43
Analogous cool #4F7AAB
Analogous warm #804FAB
Triadic #88413F

Similar navy shades

Byzantine Navy

Purple Navy

HEX
#2A2A5E
RGB
42, 42, 94
HSL
240, 38%, 27%
CMYK
55%, 55%, 0%, 63%

Plum Navy

Purple Navy

HEX
#3B3160
RGB
59, 49, 96
HSL
253, 32%, 28%
CMYK
39%, 49%, 0%, 62%

Indigo Navy

Purple Navy

HEX
#26265C
RGB
38, 38, 92
HSL
240, 42%, 25%
CMYK
59%, 59%, 0%, 64%

Aubergine Navy

Purple Navy

HEX
#322E52
RGB
50, 46, 82
HSL
247, 28%, 25%
CMYK
39%, 44%, 0%, 68%

Purple Navy

Purple Navy

HEX
#4E5180
RGB
78, 81, 128
HSL
236, 24%, 40%
CMYK
39%, 37%, 0%, 50%

Navy Blue

Classic Navy

HEX
#000080
RGB
0, 0, 128
HSL
240, 100%, 25%
CMYK
100%, 100%, 0%, 50%

Continue exploring

FAQs about Violet Navy

What is the Violet Navy color code?

The Violet Navy color code is #2E2C5F in HEX, rgb(46, 44, 95) in RGB and hsl(242, 37%, 27%) in HSL.

What is the RGB value of Violet Navy?

Violet Navy is rgb(46, 44, 95), meaning 46 units of red, 44 of green and 95 of blue on the 0 to 255 scale.

What is the CMYK value of Violet Navy?

In CMYK, Violet Navy converts to approximately 52%, 54%, 0%, 63%. Printed output will look slightly less saturated than the screen preview because CMYK covers a narrower gamut.

Does white text work on Violet Navy?

White text on Violet Navy gives a contrast ratio of 12.79:1, which is AAA for normal text.

Does black text work on Violet Navy?

Black text on Violet Navy gives a contrast ratio of 1.64:1, which is below AA, decorative use only.

Which colors go with Violet Navy?

Its direct complement is #9A9D48, and the warm accent #A5CB43 works well for calls to action. For a quieter scheme, pair it with the analogous blues listed above.

Is Violet Navy a light or dark navy?

At 27% lightness, Violet Navy is classed as a dark navy in this collection.