#645173 color

#645173 rgb(100, 81, 115)
Shades of purple

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
RGBrgb(100, 81, 115)
RGB percentrgb(39.2%, 31.8%, 45.1%)
HSLhsl(274, 17%, 38%)
HSV / HSBhsv(274, 30%, 45%)
CMYKcmyk(13%, 30%, 0%, 55%)
CIE LABlab(37.54, 15.03, -16.47)
CIE LCHlch(37.54, 22.29, 312.37)
CIE XYZxyz(11.292, 9.832, 17.519)
Decimal6574451
Short hexNone (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 #645173RatioAAAAAAA large
Sample text2.97:1FailFailFail
Sample text7.08:1PassPassPass
#645173 as text onRatioAAAAAAA large
Sample text7.08:1PassPassPass
Sample text2.97:1FailFailFail

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.

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); }
Background
Text color
Border

Similar colors

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.