#645BA1 color
The hex color #645BA1 is a desaturated blue.
In the RGB color model it is made of 39.2% red, 35.7% green and 63.1% blue (100, 91, 161).
Its hue angle is 248°, with 28% saturation and 49% lightness. For print, the CMYK equivalent is 38% cyan, 43% magenta, 0% yellow and 37% black.
The closest named color is Prophet Violet (#6F58A6), a difference of 3.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.91:1).
#645BA1 color codes
| HEX | #645BA1 | |
|---|---|---|
| RGB | rgb(100, 91, 161) | |
| RGB percent | rgb(39.2%, 35.7%, 63.1%) | |
| HSL | hsl(248, 28%, 49%) | |
| HSV / HSB | hsv(248, 43%, 63%) | |
| CMYK | cmyk(38%, 43%, 0%, 37%) | |
| CIE LAB | lab(42.41, 21, -36.78) | |
| CIE LCH | lch(42.41, 42.35, 299.72) | |
| CIE XYZ | xyz(15.428, 12.764, 35.362) | |
| Decimal | 6577057 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #645BA1, 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 #645BA1 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.55:1 | Fail | Fail | Pass |
| Sample text | 5.91:1 | Pass | Fail | Pass |
| #645BA1 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.91:1 | Pass | Fail | Pass |
| Sample text | 3.55: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 #645BA1 looks to people with the most common types of color vision deficiency.
#4366a4Protanopia
no red cones#43629fDeuteranopia
no green cones#546976Tritanopia
no blue cones#646464Achromatopsia
no color vision
CSS examples
.background { background-color: #645ba1; }
.text { color: #645ba1; }
.border { border: 2px solid #645ba1; }
.transparent { background-color: rgb(100 91 161 / 50%); }
.gradient { background: linear-gradient(to right, #645ba1, #875ba1); }
Similar colors
#6f58a6Prophet Violet#5d6098Wizard’s Potion#6f63a0Scampi#715bb1Simply Purple#6f5698Passion Flower#654ea3Ultrapurple Merge#5d66aaBellflower#51588ePiccadilly Purple
Closest common color name: Royal Purple.
Questions
- What color is #645BA1?
- #645BA1 is a desaturated blue, closest to the named color Prophet Violet. It belongs to the blue family of colors.
- What is the RGB value of #645BA1?
- The RGB value is 100, 91, 161: 100 red, 91 green and 161 blue on a 0 to 255 scale.
- What is the complementary color of #645BA1?
- The complementary color is #98A15B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #645BA1?
- White text. Black text has a contrast ratio of 3.55:1 and white text 5.91:1. WCAG asks for at least 4.5:1 for normal text.