#5239A9 color
The hex color #5239A9 is a desaturated violet.
In the RGB color model it is made of 32.2% red, 22.4% green and 66.3% blue (82, 57, 169).
Its hue angle is 253°, with 50% saturation and 44% lightness. For print, the CMYK equivalent is 51% cyan, 66% magenta, 0% yellow and 34% black.
The closest named color is Royalty (#5930A9), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.34:1).
#5239A9 color codes
| HEX | #5239A9 | |
|---|---|---|
| RGB | rgb(82, 57, 169) | |
| RGB percent | rgb(32.2%, 22.4%, 66.3%) | |
| HSL | hsl(253, 50%, 44%) | |
| HSV / HSB | hsv(253, 66%, 66%) | |
| CMYK | cmyk(51%, 66%, 0%, 34%) | |
| CIE LAB | lab(33.1, 39.9, -56.59) | |
| CIE LCH | lch(33.1, 69.24, 305.19) | |
| CIE XYZ | xyz(12.102, 7.584, 38.355) | |
| Decimal | 5388713 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5239A9, 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 #5239A9 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.52:1 | Fail | Fail | Fail |
| Sample text | 8.34:1 | Pass | Pass | Pass |
| #5239A9 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.34:1 | Pass | Pass | Pass |
| Sample text | 2.52: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 #5239A9 looks to people with the most common types of color vision deficiency.
#0050acProtanopia
no red cones#004ba7Deuteranopia
no green cones#32556cTritanopia
no blue cones#4e4e4eAchromatopsia
no color vision
CSS examples
.background { background-color: #5239a9; }
.text { color: #5239a9; }
.border { border: 2px solid #5239a9; }
.transparent { background-color: rgb(82 57 169 / 50%); }
.gradient { background: linear-gradient(to right, #5239a9, #8a39a9); }
Similar colors
#5930a9Royalty#573894Ruthless Empress#472e97Galactic Purple#533cc6Royal Nightcore#6633bbPurple Emperor#464196Blueberry#333399Bluebell#663399Rebecca Purple
Questions
- What color is #5239A9?
- #5239A9 is a desaturated violet, closest to the named color Royalty. It belongs to the blue family of colors.
- What is the RGB value of #5239A9?
- The RGB value is 82, 57, 169: 82 red, 57 green and 169 blue on a 0 to 255 scale.
- What is the complementary color of #5239A9?
- The complementary color is #90A939, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5239A9?
- White text. Black text has a contrast ratio of 2.52:1 and white text 8.34:1. WCAG asks for at least 4.5:1 for normal text.