#50237F color
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 | |
|---|---|---|
| RGB | rgb(80, 35, 127) | |
| RGB percent | rgb(31.4%, 13.7%, 49.8%) | |
| HSL | hsl(269, 57%, 32%) | |
| HSV / HSB | hsv(269, 72%, 50%) | |
| CMYK | cmyk(37%, 72%, 0%, 50%) | |
| CIE LAB | lab(25.08, 39.67, -43.85) | |
| CIE LCH | lch(25.08, 59.13, 312.13) | |
| CIE XYZ | xyz(7.739, 4.44, 20.524) | |
| Decimal | 5251967 | |
| Short hex | None (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 #50237F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.89:1 | Fail | Fail | Fail |
| Sample text | 11.12:1 | Pass | Pass | Pass |
| #50237F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.12:1 | Pass | Pass | Pass |
| Sample text | 1.89:1 | Fail | Fail | Fail |
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.
#003b82Protanopia
no red cones#003b7dDeuteranopia
no green cones#46394eTritanopia
no blue cones#3b3b3bAchromatopsia
no color vision
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); }
Similar colors
#4b1e87Occult#5b1e8bIntergalactic Settlement#572e89Night Fever#442288Galactic Civilization#5c2e88Purple Patch#4b2c74Mystic Nights#3a1f76Explorer of the Galaxies#522a6fPurple Seduction
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.