#645D99 color
The hex color #645D99 is a grayish blue.
In the RGB color model it is made of 39.2% red, 36.5% green and 60% blue (100, 93, 153).
Its hue angle is 247°, with 24% saturation and 48% lightness. For print, the CMYK equivalent is 35% cyan, 39% magenta, 0% yellow and 40% black.
The closest named color is Wizard’s Potion (#5D6098), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.89:1).
#645D99 color codes
| HEX | #645D99 | |
|---|---|---|
| RGB | rgb(100, 93, 153) | |
| RGB percent | rgb(39.2%, 36.5%, 60%) | |
| HSL | hsl(247, 24%, 48%) | |
| HSV / HSB | hsv(247, 39%, 60%) | |
| CMYK | cmyk(35%, 39%, 0%, 40%) | |
| CIE LAB | lab(42.52, 17.48, -31.83) | |
| CIE LCH | lch(42.52, 36.32, 298.77) | |
| CIE XYZ | xyz(14.918, 12.838, 31.823) | |
| Decimal | 6577561 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #645D99, 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 #645D99 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.57:1 | Fail | Fail | Pass |
| Sample text | 5.89:1 | Pass | Fail | Pass |
| #645D99 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.89:1 | Pass | Fail | Pass |
| Sample text | 3.57: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 #645D99 looks to people with the most common types of color vision deficiency.
#4a669bProtanopia
no red cones#4a6398Deuteranopia
no green cones#576874Tritanopia
no blue cones#646464Achromatopsia
no color vision
CSS examples
.background { background-color: #645d99; }
.text { color: #645d99; }
.border { border: 2px solid #645d99; }
.transparent { background-color: rgb(100 93 153 / 50%); }
.gradient { background: linear-gradient(to right, #645d99, #825d99); }
Similar colors
#5d6098Wizard’s Potion#6f63a0Scampi#6f58a6Prophet Violet#6f5698Passion Flower#51588ePiccadilly Purple#715bb1Simply Purple#5c5083Freshly Purpleized#5d66aaBellflower
Closest common color name: Royal Purple.
Questions
- What color is #645D99?
- #645D99 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 #645D99?
- The RGB value is 100, 93, 153: 100 red, 93 green and 153 blue on a 0 to 255 scale.
- What is the complementary color of #645D99?
- The complementary color is #92995D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #645D99?
- White text. Black text has a contrast ratio of 3.57:1 and white text 5.89:1. WCAG asks for at least 4.5:1 for normal text.