Purple color · XKCD survey name

Grape Purple Color Code: #5D1451

The HEX code for Grape Purple is #5D1451. It is a dark, rich magenta color made of 93 red, 20 green and 81 blue (HSL 310°, 65%, 22%). White text reads comfortably on it (12.46:1 contrast).

Grape Purple color values

HEX #5D1451
RGB rgb(93, 20, 81)
HSL hsl(310, 65%, 22%)
HSV 310, 78%, 36%
HWB hwb(310 8% 64%)
CMYK 0%, 78%, 13%, 64%
Decimal 6100049
22%HSL lightness (dark)
65%HSL saturation (rich)
310°Hue angle (magenta)
0.034Relative luminance

CMYK is a standard screen-to-print conversion. Printed results depend on inks, paper and color profiles.

What is Grape Purple?

“Grape Purple” is a crowd-sourced name from the XKCD Color Survey, in which participants typed names for colors they were shown. It is a popular everyday label rather than an official standard.

Its hue angle of 310° places it in the magenta part of the color wheel, with 65% saturation (rich) and 22% lightness (dark). It sits between warm and cool.

Compared with the other purple colors in the Aqeeb Studio library, it is lighter than 14% of them and more saturated than 35% of them.

Its relative luminance is 0.034, which makes it a dark color. That is below the 0.179 crossover point at which black and white text have equal contrast, so white text has the advantage.

Grape Purple counts as a dark color: its HSL lightness is 22% and its relative luminance is 0.034. White text reads comfortably on it (12.46:1 contrast).

Text contrast on Grape Purple

WCAG contrast of white and black text on Grape Purple
TextPreviewRatioAA normalAA largeAAA normalAAA large
White text Sample text 12.46:1 Excellent Pass Pass Pass Pass
Black text Sample text 1.68:1 Poor Fail Fail Fail Fail

Ratios use the WCAG 2 formula and are truncated, never rounded up. Test any pair with the contrast checker.

Colors that go with Grape Purple

Complementary color

Complementary colors sit directly opposite each other on the color wheel (180° apart). They give the strongest hue contrast, which suits calls to action and accents.

Analogous colors

Analogous colors are neighbors on the wheel, 30° either side of the base hue. They blend smoothly and are easy to combine in backgrounds, gradients and illustrations.

Triadic colors

A triadic scheme uses three hues spaced 120° apart. It is lively yet balanced, and works best when one color leads and the other two act as accents.

Split-complementary colors

Split-complementary keeps the base color and uses the two colors on either side of its complement (150° and 210°). The contrast is strong but gentler than a direct complement.

Tetradic colors

A tetradic (rectangle) scheme combines two complementary pairs at 0°, 60°, 180° and 240°. It offers variety but needs one dominant color to stay balanced.

Monochromatic variants

Monochromatic variants keep the same hue and saturation and only change lightness, which makes them dependable for UI scales and subtle layered designs.

#190516#190516
#541249#541249
#8F1F7C#8F1F7C
#C92BAF#C92BAF
#DD60C8#DD60C8

A “≈” before a name means the exact harmony color has no named match, so the link goes to the closest named color.

Tints and shades of Grape Purple

Lighter tints (mixed with white)

Darker shades (mixed with black)

Select any swatch to copy its HEX code. Build longer scales with the tints and shades tool.

Where to use Grape Purple

  • Button, banner and badge backgrounds with white text (12.46:1 contrast)
  • Dark-mode surfaces, headers and footers
  • Tags, badges and highlights
  • Creative and entertainment branding
  • Premium-feeling accents and gradients
  • Illustrations and hero sections

Use Grape Purple in CSS

:root {
  --color-grape-purple: #5D1451;
}

.element {
  color: var(--color-grape-purple);
  background-color: #5D1451;
  border: 2px solid #5D1451;
}

Questions about Grape Purple

What is the HEX code for Grape Purple?

Grape Purple is #5D1451.

What is the RGB value of Grape Purple?

The RGB value of Grape Purple is 93, 20, 81: 93 red, 20 green and 81 blue on a 0–255 scale, written rgb(93, 20, 81) in CSS.

What is the HSL value of Grape Purple?

The HSL value of Grape Purple is 310°, 65%, 22% (hue, saturation, lightness), written hsl(310, 65%, 22%) in CSS.

What is the CMYK value of Grape Purple?

A standard conversion gives about C 0%, M 78%, Y 13%, K 64%. Real print results depend on the inks, paper and color profile, so treat CMYK here as a reference value.

Is Grape Purple a light or dark color?

Grape Purple counts as a dark color: its HSL lightness is 22% and its relative luminance is 0.034. White text reads comfortably on it (12.46:1 contrast).

How does Grape Purple look with white text?

White text on Grape Purple has a contrast ratio of 12.46:1, rated Excellent. It meets WCAG AA for normal text.

How does Grape Purple look with black text?

Black text on Grape Purple has a contrast ratio of 1.68:1, rated Poor. It falls below the WCAG minimum for text.

What colors go well with Grape Purple?

Deep Green is its complementary color, and Plum Purple sits beside it as an analogous color. Lighter and darker variants of the same hue also work well for monochromatic palettes.

Where can Grape Purple be used?

It suits button, banner and badge backgrounds with white text (12.46:1 contrast); dark-mode surfaces, headers and footers; tags, badges and highlights.

How do I use Grape Purple in CSS?

Use color: #5D1451; for text, background-color: #5D1451; for fills, or define a custom property such as --color-grape-purple: #5D1451; and reuse it with var(--color-grape-purple).

About this color page

Crowd-sourced name from the XKCD Color Survey (CC0). Values are calculated from the HEX code; color names are labels, not trademarks or standards unless stated. Screens render colors differently, so always check important colors on your own device. See the disclaimer.