#654787 color
The hex color #654787 is a desaturated violet.
In the RGB color model it is made of 39.6% red, 27.8% green and 52.9% blue (101, 71, 135).
Its hue angle is 268°, with 31% saturation and 40% lightness. For print, the CMYK equivalent is 25% cyan, 47% magenta, 0% yellow and 47% black.
The closest named color is Lords of the Night (#664488), a difference of 1.1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.49:1).
#654787 color codes
| HEX | #654787 | |
|---|---|---|
| RGB | rgb(101, 71, 135) | |
| RGB percent | rgb(39.6%, 27.8%, 52.9%) | |
| HSL | hsl(268, 31%, 40%) | |
| HSV / HSB | hsv(268, 47%, 53%) | |
| CMYK | cmyk(25%, 47%, 0%, 47%) | |
| CIE LAB | lab(36.03, 26.52, -31.16) | |
| CIE LCH | lch(36.03, 40.92, 310.41) | |
| CIE XYZ | xyz(11.992, 9.022, 24.027) | |
| Decimal | 6637447 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #654787, 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 #654787 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.8:1 | Fail | Fail | Fail |
| Sample text | 7.49:1 | Pass | Pass | Pass |
| #654787 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.49:1 | Pass | Pass | Pass |
| Sample text | 2.8: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 #654787 looks to people with the most common types of color vision deficiency.
#365489Protanopia
no red cones#3d5585Deuteranopia
no green cones#5f5260Tritanopia
no blue cones#555555Achromatopsia
no color vision
CSS examples
.background { background-color: #654787; }
.text { color: #654787; }
.border { border: 2px solid #654787; }
.transparent { background-color: rgb(101 71 135 / 50%); }
.gradient { background: linear-gradient(to right, #654787, #854787); }
Similar colors
#664488Lords of the Night#714a8bGrapes of Italy#5c457bIn the Vines#604c81Sumptuous Purple#614a7bRoyal Robe#5b4276Drifting Violet#5c5083Freshly Purpleized#75528bNinja Princess
Closest common color name: Royal Purple.
Questions
- What color is #654787?
- #654787 is a desaturated violet, closest to the named color Lords of the Night. It belongs to the purple family of colors.
- What is the RGB value of #654787?
- The RGB value is 101, 71, 135: 101 red, 71 green and 135 blue on a 0 to 255 scale.
- What is the complementary color of #654787?
- The complementary color is #698747, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #654787?
- White text. Black text has a contrast ratio of 2.8:1 and white text 7.49:1. WCAG asks for at least 4.5:1 for normal text.