#645173 color
The hex color #645173 is a grayish violet.
In the RGB color model it is made of 39.2% red, 31.8% green and 45.1% blue (100, 81, 115).
Its hue angle is 274°, with 17% saturation and 38% lightness. For print, the CMYK equivalent is 13% cyan, 30% magenta, 0% yellow and 55% black.
The closest named color is Your Majesty (#61496E), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.08:1).
#645173 color codes
| HEX | #645173 | |
|---|---|---|
| RGB | rgb(100, 81, 115) | |
| RGB percent | rgb(39.2%, 31.8%, 45.1%) | |
| HSL | hsl(274, 17%, 38%) | |
| HSV / HSB | hsv(274, 30%, 45%) | |
| CMYK | cmyk(13%, 30%, 0%, 55%) | |
| CIE LAB | lab(37.54, 15.03, -16.47) | |
| CIE LCH | lch(37.54, 22.29, 312.37) | |
| CIE XYZ | xyz(11.292, 9.832, 17.519) | |
| Decimal | 6574451 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #645173, 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 #645173 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.97:1 | Fail | Fail | Fail |
| Sample text | 7.08:1 | Pass | Pass | Pass |
| #645173 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.08:1 | Pass | Pass | Pass |
| Sample text | 2.97:1 | Fail | Fail | Fail |
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 #645173 looks to people with the most common types of color vision deficiency.
#4b5774Protanopia
no red cones#4f5972Deuteranopia
no green cones#62555dTritanopia
no blue cones#585858Achromatopsia
no color vision
CSS examples
.background { background-color: #645173; }
.text { color: #645173; }
.border { border: 2px solid #645173; }
.transparent { background-color: rgb(100 81 115 / 50%); }
.gradient { background: linear-gradient(to right, #645173, #735171); }
Similar colors
#61496eYour Majesty#675a75Plummy#655883Berry Jam#674876Neon Violet#57446aHaunted Candelabra#614a7bRoyal Robe#544563Nightly Walk#78587dDr Who
Closest common color name: Eggplant.
Questions
- What color is #645173?
- #645173 is a grayish violet, closest to the named color Your Majesty. It belongs to the purple family of colors.
- What is the RGB value of #645173?
- The RGB value is 100, 81, 115: 100 red, 81 green and 115 blue on a 0 to 255 scale.
- What is the complementary color of #645173?
- The complementary color is #607351, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #645173?
- White text. Black text has a contrast ratio of 2.97:1 and white text 7.08:1. WCAG asks for at least 4.5:1 for normal text.