#645B7D color
The hex color #645B7D is a grayish violet.
In the RGB color model it is made of 39.2% red, 35.7% green and 49% blue (100, 91, 125).
Its hue angle is 256°, with 16% saturation and 42% lightness. For print, the CMYK equivalent is 20% cyan, 27% magenta, 0% yellow and 51% black.
The closest named color is Berry Jam (#655883), a difference of 2.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.3:1).
#645B7D color codes
| HEX | #645B7D | |
|---|---|---|
| RGB | rgb(100, 91, 125) | |
| RGB percent | rgb(39.2%, 35.7%, 49%) | |
| HSL | hsl(256, 16%, 42%) | |
| HSV / HSB | hsv(256, 27%, 49%) | |
| CMYK | cmyk(20%, 27%, 0%, 51%) | |
| CIE LAB | lab(40.69, 11.25, -17.78) | |
| CIE LCH | lch(40.69, 21.04, 302.32) | |
| CIE XYZ | xyz(12.697, 11.672, 20.982) | |
| Decimal | 6577021 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #645B7D, 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 #645B7D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.33:1 | Fail | Fail | Pass |
| Sample text | 6.3:1 | Pass | Fail | Pass |
| #645B7D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.3:1 | Pass | Fail | Pass |
| Sample text | 3.33: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 #645B7D looks to people with the most common types of color vision deficiency.
#53607eProtanopia
no red cones#55607cDeuteranopia
no green cones#5f6067Tritanopia
no blue cones#606060Achromatopsia
no color vision
CSS examples
.background { background-color: #645b7d; }
.text { color: #645b7d; }
.border { border: 2px solid #645b7d; }
.transparent { background-color: rgb(100 91 125 / 50%); }
.gradient { background: linear-gradient(to right, #645b7d, #755b7d); }
Similar colors
#655883Berry Jam#675a75Plummy#6a6887Heron#555570Majestic Magic#5c5083Freshly Purpleized#746c8fBureaucracy#565266Freefall#50507fTangent Periwinkle
Closest common color name: Eggplant.
Questions
- What color is #645B7D?
- #645B7D is a grayish violet, closest to the named color Berry Jam. It belongs to the purple family of colors.
- What is the RGB value of #645B7D?
- The RGB value is 100, 91, 125: 100 red, 91 green and 125 blue on a 0 to 255 scale.
- What is the complementary color of #645B7D?
- The complementary color is #747D5B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #645B7D?
- White text. Black text has a contrast ratio of 3.33:1 and white text 6.3:1. WCAG asks for at least 4.5:1 for normal text.