The church’s color for Advent and Lent
Church ruleThe 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
The rainbow’s last color, named after a small spring flower.
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 | |
|---|---|---|
| RGB | rgb(143, 0, 255) | |
| HSL | hsl(274, 100%, 50%) | |
| HSV | 274°, 100%, 100% | |
| CMYK | 44, 100, 0, 0 | |
| OKLCH | oklch(54.8% 0.294 298.8) |

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.
Tints with white
Shades with black
Tones with gray
Pairings that work in rooms, outfits and interfaces.
Opposites on the painter’s color wheel. Bold and playful.
One hue, two strengths. Lilac softens the glare.
Fresh and youthful. Good for games and apps.
Neutral gray lets one bright color lead. Clean for interfaces.
Warm against cool. Loud, so use it for posters, not pages.
Calm for long text. Keep violet for links and headings.
Pick a palette to see where its colors sit on the color wheel. The caret marks violet. Tap a band to copy its code.
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 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 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
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
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
Violet was a flower before it was a color, and a color before it was a place in the spectrum.
“Violet” enters English as the name of the flower, from Latin viola.1
First recorded use of “violet” as a color name in English.2
Isaac Newton’s Opticks ends its list of the spectrum’s colors with “deep violet”.3
Johann Wilhelm Ritter finds invisible rays beyond the violet end of the spectrum, later called ultraviolet.4
Violet becomes common in paintings, rising from a few percent of works to more than a third.5
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

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.
Sampled from the petals and leaves in the Cleveland Museum of Art’s photograph (1966.442), released as CC0 (public domain). Colors in a photo shift with the lighting, so read the codes as close, not exact.
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.
The purple is the fill of the “greater than” symbol in the footer graphic on Accenture’s website.
Palettes are sampled in-house.
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).
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.
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.
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.
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.
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.
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.