#5641A2 color
The hex color #5641A2 is a desaturated violet.
In the RGB color model it is made of 33.7% red, 25.5% green and 63.5% blue (86, 65, 162).
Its hue angle is 253°, with 43% saturation and 45% lightness. For print, the CMYK equivalent is 47% cyan, 60% magenta, 0% yellow and 36% black.
The closest named color is Ruthless Empress (#573894), a difference of 3.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.85:1).
#5641A2 color codes
| HEX | #5641A2 | |
|---|---|---|
| RGB | rgb(86, 65, 162) | |
| RGB percent | rgb(33.7%, 25.5%, 63.5%) | |
| HSL | hsl(253, 43%, 45%) | |
| HSV / HSB | hsv(253, 60%, 64%) | |
| CMYK | cmyk(47%, 60%, 0%, 36%) | |
| CIE LAB | lab(34.74, 33.86, -49.72) | |
| CIE LCH | lch(34.74, 60.15, 304.25) | |
| CIE XYZ | xyz(12.248, 8.367, 35.145) | |
| Decimal | 5652898 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5641A2, 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 #5641A2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.67:1 | Fail | Fail | Fail |
| Sample text | 7.85:1 | Pass | Pass | Pass |
| #5641A2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.85:1 | Pass | Pass | Pass |
| Sample text | 2.67: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 #5641A2 looks to people with the most common types of color vision deficiency.
#0054a5Protanopia
no red cones#004fa0Deuteranopia
no green cones#3e576bTritanopia
no blue cones#525252Achromatopsia
no color vision
CSS examples
.background { background-color: #5641a2; }
.text { color: #5641a2; }
.border { border: 2px solid #5641a2; }
.transparent { background-color: rgb(86 65 162 / 50%); }
.gradient { background: linear-gradient(to right, #5641a2, #8741a2); }
Similar colors
#573894Ruthless Empress#464196Blueberry#444499Galaxy Express#483d8bDark Slate Blue#6b3fa0Poppy Pompadour#654ea3Ultrapurple Merge#5930a9Royalty#472e97Galactic Purple
Questions
- What color is #5641A2?
- #5641A2 is a desaturated violet, closest to the named color Ruthless Empress. It belongs to the blue family of colors.
- What is the RGB value of #5641A2?
- The RGB value is 86, 65, 162: 86 red, 65 green and 162 blue on a 0 to 255 scale.
- What is the complementary color of #5641A2?
- The complementary color is #8DA241, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5641A2?
- White text. Black text has a contrast ratio of 2.67:1 and white text 7.85:1. WCAG asks for at least 4.5:1 for normal text.