#501796 color

#501796 rgb(80, 23, 150)
Shades of purple

The hex color #501796 is a dark, moderate violet.

In the RGB color model it is made of 31.4% red, 9% green and 58.8% blue (80, 23, 150).

Its hue angle is 267°, with 73% saturation and 34% lightness. For print, the CMYK equivalent is 47% cyan, 85% magenta, 0% yellow and 41% black.

The closest named color is Occult (#4B1E87), a difference of 2.6 ΔE, a small difference.

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

#501796 color codes

HEX#501796
RGBrgb(80, 23, 150)
RGB percentrgb(31.4%, 9%, 58.8%)
HSLhsl(267, 73%, 34%)
HSV / HSBhsv(267, 85%, 59%)
CMYKcmyk(47%, 85%, 0%, 41%)
CIE LABlab(25.32, 50.78, -57.79)
CIE LCHlch(25.32, 76.93, 311.31)
CIE XYZxyz(9.118, 4.52, 29.24)
Decimal5248918
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #501796, 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 #501796RatioAAAAAAA large
Sample text1.9:1FailFailFail
Sample text11.03:1PassPassPass
#501796 as text onRatioAAAAAAA large
Sample text11.03:1PassPassPass
Sample text1.9: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 #501796 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #501796; }
.text { color: #501796; }
.border { border: 2px solid #501796; }
.transparent { background-color: rgb(80 23 150 / 50%); }
.gradient { background: linear-gradient(to right, #501796, #901796); }
Background
Text color
Border

Similar colors

Questions

What color is #501796?
#501796 is a dark, moderate violet, closest to the named color Occult. It belongs to the purple family of colors.
What is the RGB value of #501796?
The RGB value is 80, 23, 150: 80 red, 23 green and 150 blue on a 0 to 255 scale.
What is the complementary color of #501796?
The complementary color is #5D9617, found by rotating the hue 180° on the color wheel.
Is black or white text better on #501796?
White text. Black text has a contrast ratio of 1.9:1 and white text 11.03:1. WCAG asks for at least 4.5:1 for normal text.