#645C91 color
The hex color #645C91 is a grayish blue.
In the RGB color model it is made of 39.2% red, 36.1% green and 56.9% blue (100, 92, 145).
Its hue angle is 249°, with 22% saturation and 46% lightness. For print, the CMYK equivalent is 31% cyan, 37% magenta, 0% yellow and 43% black.
The closest named color is Wizard’s Potion (#5D6098), a difference of 3.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.03:1).
#645C91 color codes
| HEX | #645C91 | |
|---|---|---|
| RGB | rgb(100, 92, 145) | |
| RGB percent | rgb(39.2%, 36.1%, 56.9%) | |
| HSL | hsl(249, 22%, 46%) | |
| HSV / HSB | hsv(249, 37%, 57%) | |
| CMYK | cmyk(31%, 37%, 0%, 43%) | |
| CIE LAB | lab(41.86, 15.88, -28.08) | |
| CIE LCH | lch(41.86, 32.26, 299.49) | |
| CIE XYZ | xyz(14.192, 12.408, 28.43) | |
| Decimal | 6577297 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #645C91, 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 #645C91 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.48:1 | Fail | Fail | Pass |
| Sample text | 6.03:1 | Pass | Fail | Pass |
| #645C91 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.03:1 | Pass | Fail | Pass |
| Sample text | 3.48:1 | Fail | Fail | Pass |
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 #645C91 looks to people with the most common types of color vision deficiency.
#4d6493Protanopia
no red cones#4d6290Deuteranopia
no green cones#5a6570Tritanopia
no blue cones#636363Achromatopsia
no color vision
CSS examples
.background { background-color: #645c91; }
.text { color: #645c91; }
.border { border: 2px solid #645c91; }
.transparent { background-color: rgb(100 92 145 / 50%); }
.gradient { background: linear-gradient(to right, #645c91, #7e5c91); }
Similar colors
#5d6098Wizard’s Potion#6f63a0Scampi#655883Berry Jam#5c5083Freshly Purpleized#6f5698Passion Flower#51588ePiccadilly Purple#50507fTangent Periwinkle#4e5481Dusk
Closest common color name: Royal Purple.
Questions
- What color is #645C91?
- #645C91 is a grayish blue, closest to the named color Wizard’s Potion. It belongs to the blue family of colors.
- What is the RGB value of #645C91?
- The RGB value is 100, 92, 145: 100 red, 92 green and 145 blue on a 0 to 255 scale.
- What is the complementary color of #645C91?
- The complementary color is #89915C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #645C91?
- White text. Black text has a contrast ratio of 3.48:1 and white text 6.03:1. WCAG asks for at least 4.5:1 for normal text.