#502E7A color

#502E7A rgb(80, 46, 122)
Shades of purple

The hex color #502E7A is a dark, desaturated violet.

In the RGB color model it is made of 31.4% red, 18% green and 47.8% blue (80, 46, 122).

Its hue angle is 267°, with 45% saturation and 33% lightness. For print, the CMYK equivalent is 34% cyan, 62% magenta, 0% yellow and 52% black.

The closest named color is Mystic Nights (#4B2C74), a difference of 1.3 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 10.43:1).

#502E7A color codes

HEX#502E7A
RGBrgb(80, 46, 122)
RGB percentrgb(31.4%, 18%, 47.8%)
HSLhsl(267, 45%, 33%)
HSV / HSBhsv(267, 62%, 48%)
CMYKcmyk(34%, 62%, 0%, 52%)
CIE LABlab(26.92, 32.26, -37.72)
CIE LCHlch(26.92, 49.63, 310.54)
CIE XYZxyz(7.797, 5.065, 18.975)
Decimal5254778
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #502E7A, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #502E7ARatioAAAAAAA large
Sample text2.01:1FailFailFail
Sample text10.43:1PassPassPass
#502E7A as text onRatioAAAAAAA large
Sample text10.43:1PassPassPass
Sample text2.01:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #502E7A looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #502e7a; }
.text { color: #502e7a; }
.border { border: 2px solid #502e7a; }
.transparent { background-color: rgb(80 46 122 / 50%); }
.gradient { background: linear-gradient(to right, #502e7a, #762e7a); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Slate Blue.

Questions

What color is #502E7A?
#502E7A is a dark, desaturated violet, closest to the named color Mystic Nights. It belongs to the purple family of colors.
What is the RGB value of #502E7A?
The RGB value is 80, 46, 122: 80 red, 46 green and 122 blue on a 0 to 255 scale.
What is the complementary color of #502E7A?
The complementary color is #587A2E, found by rotating the hue 180° on the color wheel.
Is black or white text better on #502E7A?
White text. Black text has a contrast ratio of 2.01:1 and white text 10.43:1. WCAG asks for at least 4.5:1 for normal text.