#645D8A color
The hex color #645D8A is a grayish blue.
In the RGB color model it is made of 39.2% red, 36.5% green and 54.1% blue (100, 93, 138).
Its hue angle is 249°, with 19% saturation and 45% lightness. For print, the CMYK equivalent is 28% cyan, 33% magenta, 0% yellow and 46% black.
The closest named color is Berry Jam (#655883), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.04:1).
#645D8A color codes
| HEX | #645D8A | |
|---|---|---|
| RGB | rgb(100, 93, 138) | |
| RGB percent | rgb(39.2%, 36.5%, 54.1%) | |
| HSL | hsl(249, 19%, 45%) | |
| HSV / HSB | hsv(249, 33%, 54%) | |
| CMYK | cmyk(28%, 33%, 0%, 46%) | |
| CIE LAB | lab(41.8, 13.37, -23.95) | |
| CIE LCH | lch(41.8, 27.42, 299.17) | |
| CIE XYZ | xyz(13.756, 12.373, 25.703) | |
| Decimal | 6577546 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #645D8A, 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 #645D8A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.47:1 | Fail | Fail | Pass |
| Sample text | 6.04:1 | Pass | Fail | Pass |
| #645D8A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.04:1 | Pass | Fail | Pass |
| Sample text | 3.47: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 #645D8A looks to people with the most common types of color vision deficiency.
#51638cProtanopia
no red cones#516289Deuteranopia
no green cones#5c656dTritanopia
no blue cones#636363Achromatopsia
no color vision
CSS examples
.background { background-color: #645d8a; }
.text { color: #645d8a; }
.border { border: 2px solid #645d8a; }
.transparent { background-color: rgb(100 93 138 / 50%); }
.gradient { background: linear-gradient(to right, #645d8a, #7a5d8a); }
Similar colors
#655883Berry Jam#5c5083Freshly Purpleized#5d6098Wizard’s Potion#6f63a0Scampi#6a6887Heron#50507fTangent Periwinkle#51588ePiccadilly Purple#6f5698Passion Flower
Closest common color name: Royal Purple.
Questions
- What color is #645D8A?
- #645D8A is a grayish blue, closest to the named color Berry Jam. It belongs to the blue family of colors.
- What is the RGB value of #645D8A?
- The RGB value is 100, 93, 138: 100 red, 93 green and 138 blue on a 0 to 255 scale.
- What is the complementary color of #645D8A?
- The complementary color is #838A5D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #645D8A?
- White text. Black text has a contrast ratio of 3.47:1 and white text 6.04:1. WCAG asks for at least 4.5:1 for normal text.