#50237F color

#50237F rgb(80, 35, 127)
Shades of purple

The hex color #50237F is a dark, moderate violet.

In the RGB color model it is made of 31.4% red, 13.7% green and 49.8% blue (80, 35, 127).

Its hue angle is 269°, with 57% saturation and 32% lightness. For print, the CMYK equivalent is 37% cyan, 72% magenta, 0% yellow and 50% black.

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

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

#50237F color codes

HEX#50237F
RGBrgb(80, 35, 127)
RGB percentrgb(31.4%, 13.7%, 49.8%)
HSLhsl(269, 57%, 32%)
HSV / HSBhsv(269, 72%, 50%)
CMYKcmyk(37%, 72%, 0%, 50%)
CIE LABlab(25.08, 39.67, -43.85)
CIE LCHlch(25.08, 59.13, 312.13)
CIE XYZxyz(7.739, 4.44, 20.524)
Decimal5251967
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #50237f; }
.text { color: #50237f; }
.border { border: 2px solid #50237f; }
.transparent { background-color: rgb(80 35 127 / 50%); }
.gradient { background: linear-gradient(to right, #50237f, #7e237f); }
Background
Text color
Border

Similar colors

Closest common color name: Indigo.

Questions

What color is #50237F?
#50237F 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 #50237F?
The RGB value is 80, 35, 127: 80 red, 35 green and 127 blue on a 0 to 255 scale.
What is the complementary color of #50237F?
The complementary color is #527F23, found by rotating the hue 180° on the color wheel.
Is black or white text better on #50237F?
White text. Black text has a contrast ratio of 1.89:1 and white text 11.12:1. WCAG asks for at least 4.5:1 for normal text.