Violet

The rainbow’s last color, named after a small spring flower.

Overview

Violet is a vivid purple that leans toward blue. Its usual web code is #8F00FF: blue at full strength, red a little over half, and no green at all, so the color is as saturated as a screen can make it.

The name comes from the flower, through French from Latin viola, and has been a color word in English since 1370. Violet is also the name for the last band of the rainbow: the shortest wavelengths of light we can see, around 400 nanometers.

That double life is why violet is hard to pin down. Screens cannot show true spectral violet, so they fake it with strong blue and a little red, and no color standard says which mix is right. Style sheets add a third violet: the CSS keyword is a light pink-purple from an old Unix color list.

Violet carries white text. It is loud on its own, so it works best as an accent: bright against yellow, calmer next to gray, lilac or cream.

Names differ between color lists. In CSS and HTML, the keyword violet is #EE82EE. This page covers violet as #8F00FF.

HEX#8F00FF
RGBrgb(143, 0, 255)
HSLhsl(274, 100%, 50%)
HSV274°, 100%, 100%
CMYK44, 100, 0, 0
OKLCHoklch(54.8% 0.294 298.8)
Every code converts from the HEX value #8F00FF. #8F00FF is a fully saturated color at hue 274° on the RGB color wheel. Wikipedia lists it as electric violet, a screen stand-in for violet light of about 400 nanometers, but its source is an online hue chart that editors have marked as failing verification. No color standard defines violet. Wikipedia’s main violet is the color wheel’s #8000FF, at hue 270°, and the CSS keyword violet is the much lighter #EE82EE in the CSS Color Module Level 4. CMYK is a screen-based estimate; print results vary.
Violet color card, hex #8F00FF: “Shrinking violet? Hardly”

Violet on the color map

People’s average violet in the xkcd survey sits inside the outline, a little to the right: slightly redder and a touch less intense. CSS violet is far lighter and pinker, up and to the right, well outside it. The outline is an approximate range, not a measured one.

Shades and tints

Tints with white

Shades with black

Tones with gray

Violet sits in the middle. Tints add white, shades add black and tones add gray, in 10% steps out from it. Tap any swatch to copy its code.

Light and dark violet

#EE82EE
CSS violetThe CSS keyword violet, from the X11 color list. A light pink-purple, much softer than the rainbow’s violet.
#BC66FF
Light violetMixed 40% with white. Still bright, but easier on the eyes.
#8F00FF
VioletThe reference color.
#8000FF
Color-wheel violetHalfway between blue and magenta on the RGB wheel, at hue 270°. A hair bluer; Wikipedia’s main violet.
#4B0082
IndigoAlmost the same hue at half the strength: the CSS keyword indigo, with a page of its own. See indigo

Colors that go with violet

Pairings that work in rooms, outfits and interfaces.

Violet and yellow

Opposites on the painter’s color wheel. Bold and playful.

Violet and lilac

One hue, two strengths. Lilac softens the glare.

Violet and mint

Fresh and youthful. Good for games and apps.

Violet and gray

Neutral gray lets one bright color lead. Clean for interfaces.

Violet and coral

Warm against cool. Loud, so use it for posters, not pages.

Violet and cream

Calm for long text. Keep violet for links and headings.

Color-wheel palettes

Pick a palette to see where its colors sit on the color wheel. The caret marks violet. Tap a band to copy its code.

Similar colors

Iris34%Medium slate blue36%VioletBlue-violet76%Dark violet65%Dark orchid56%Electric purple52%

Lined up by hue around violet. Hover a color to see how similar it is.The bar under each name shows how similar it is. Similarity comes from the distance between the two colors in OKLab, a model of how we see color.

Violet vs purple

Violet#8F00FF · hue 274°
  • Leans toward blue
  • A color of the rainbow, made by a single wavelength of light
  • Named after a flower
Purple#800080 · hue 300°
  • Halfway between red and blue
  • A mix of red and blue light, not found in the rainbow
  • The CSS keyword purple

Meaning

  • The rainbow’s edge
  • Violets
  • Advent and Lent
  • Impressionists
  • Hard for screens

Violet is the color at the edge of what we can see, and the name of a small spring flower. In the Roman Catholic church it marks seasons of waiting and penance. As with most named colors, mood research tests broad hues such as purple, not violet itself.

The church’s color for Advent and Lent

Church rule

The rules for the Roman Catholic Mass say that “the color violet or purple is used in Advent and Lent”, the seasons before Christmas and Easter. It may also be worn at Masses for the dead.1

Rare in paintings before the 1860s

One study

A 2021 study measured color in 4,117 paintings. Violet had a real presence in only 2% to 4% of works made before the early 1860s, then jumped to between 36.5% and 47.9%. The authors argue that cheap new pigments alone do not explain the jump, and suggest new color theory taken up by the Impressionists as one cause.2

Screens can only imitate it

Physics

Violet light sits at the short end of the visible spectrum, around 400 nanometers. A screen has no violet light to give: it mixes strong blue with weaker red, which looks similar to the eye.3, 4

Sources (4)
  1. United States Conference of Catholic Bishops, General Instruction of the Roman Missal, chapter 6, no. 346.
  2. Tager, A., Kirchner, E. & Fedorovskaya, E. (2021). Computational evidence of first extensive usage of violet in the 1860s. Color Research and Application, 46(5), 961–977. doi:10.1002/col.22638
  3. Wikipedia, “Violet (color)”, on how screens make violet.
  4. Nave, R. “Spectral Colors”, HyperPhysics, Georgia State University.

History

Violet was a flower before it was a color, and a color before it was a place in the spectrum.

  1. 1300s

    “Violet” enters English as the name of the flower, from Latin viola.1

  2. 1370

    First recorded use of “violet” as a color name in English.2

  3. 1704

    Isaac Newton’s Opticks ends its list of the spectrum’s colors with “deep violet”.3

  4. 1801

    Johann Wilhelm Ritter finds invisible rays beyond the violet end of the spectrum, later called ultraviolet.4

  5. 1860s

    Violet becomes common in paintings, rising from a few percent of works to more than a third.5

  6. 2001

    SVG 1.0 lists the color keyword violet as RGB 238, 130, 238, a light pink-purple from the X11 list. CSS still uses it.6

Sources (6)
  1. Merriam-Webster, “violet”, etymology and first known use.
  2. Wikipedia, “Violet (color)”, citing Maerz and Paul’s A Dictionary of Color (1930), p. 207.
  3. Newton, I. (1704). Opticks, Book I. Project Gutenberg.
  4. Wikipedia, “Ultraviolet”, history of the discovery.
  5. Tager, A., Kirchner, E. & Fedorovskaya, E. (2021). Computational evidence of first extensive usage of violet in the 1860s. Color Research and Application, 46(5), 961–977. doi:10.1002/col.22638
  6. W3C (2001). Scalable Vector Graphics (SVG) 1.0 Specification, recognized color keyword names; and CSS Color Module Level 4, on the X11 origin of most named colors.

Violet in use

All brand colors
A single purple enamel violet with a tiny diamond center and two green jade leaves on a thin gold stem, standing in a small clear crystal vase
#74647B#5D4C63#4E5F38#A0A09F
Decorative artFabergé violet (about 1885–1915)

A single violet in enamel, with a diamond center and carved jade leaves, standing in a tiny rock-crystal vase. It was made in St. Petersburg by the House of Fabergé and is now at the Cleveland Museum of Art. The petals sample as a soft grayish purple, far quieter than the screen’s violet: the flower that gave the color its name is much less loud than the color.

#74647B#5D4C63#4E5F38#A0A09F
Source: Cleveland Museum of Art
#A100FF#000000
BrandingAccenture

Accenture’s purple, #A100FF, is a little lighter and pinker than this page’s code. It colors the “greater than” symbol, >, in the company’s logo.

#A100FF#000000
Source: Accenture site logo

Palettes are sampled in-house.

Questions

What color is violet?

A vivid purple that leans toward blue, the color at the end of the rainbow. The usual web code is #8F00FF (RGB 143, 0, 255).

What is the difference between violet and purple?

Violet is a color of the spectrum, made by a single short wavelength of light, and it leans blue. Purple is a mix of red and blue light that does not appear in the rainbow, and it sits halfway between them, like #800080.

Why is CSS violet pink?

The CSS keyword violet comes from the X11 color list of Unix computers, which used the name for a light pink-purple, #EE82EE. CSS adopted that list because it was already in wide use.

Can screens show true violet?

No. Screens make every color from red, green and blue light, and none of them is violet. They imitate it with strong blue and a little red, which looks close but is not the same light.

Is violet the same as indigo?

No. In the rainbow, indigo sits between blue and violet. On the web, the CSS keyword indigo (#4B0082) has almost the same hue as violet at about half the strength, so it looks like a very dark violet.

What colors go with violet?

Yellow for a bold contrast, lilac for a softer look in the same hue, mint for something fresh, and gray or cream when violet should be the only bright color.

What does violet mean in church?

In the Roman Catholic church, violet or purple is the color of Advent and Lent, the seasons before Christmas and Easter. It may also be worn at Masses for the dead.