#664D7F color

#664D7F rgb(102, 77, 127)
Shades of purple

The hex color #664D7F is a grayish violet.

In the RGB color model it is made of 40% red, 30.2% green and 49.8% blue (102, 77, 127).

Its hue angle is 270°, with 25% saturation and 40% lightness. For print, the CMYK equivalent is 20% cyan, 39% magenta, 0% yellow and 50% black.

The closest named color is Royal Robe (#614A7B), a difference of 1.3 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 7.16:1).

#664D7F color codes

HEX#664D7F
RGBrgb(102, 77, 127)
RGB percentrgb(40%, 30.2%, 49.8%)
HSLhsl(270, 25%, 40%)
HSV / HSBhsv(270, 39%, 50%)
CMYKcmyk(20%, 39%, 0%, 50%)
CIE LABlab(37.23, 21.12, -24.34)
CIE LCHlch(37.23, 32.22, 310.95)
CIE XYZxyz(11.963, 9.665, 21.31)
Decimal6704511
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #664D7F, 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 #664D7FRatioAAAAAAA large
Sample text2.93:1FailFailFail
Sample text7.16:1PassPassPass
#664D7F as text onRatioAAAAAAA large
Sample text7.16:1PassPassPass
Sample text2.93: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 #664D7F looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #664d7f; }
.text { color: #664d7f; }
.border { border: 2px solid #664d7f; }
.transparent { background-color: rgb(102 77 127 / 50%); }
.gradient { background: linear-gradient(to right, #664d7f, #7f4d7f); }
Background
Text color
Border

Similar colors

Closest common color name: Royal Purple.

Questions

What color is #664D7F?
#664D7F is a grayish violet, closest to the named color Royal Robe. It belongs to the purple family of colors.
What is the RGB value of #664D7F?
The RGB value is 102, 77, 127: 102 red, 77 green and 127 blue on a 0 to 255 scale.
What is the complementary color of #664D7F?
The complementary color is #667F4D, found by rotating the hue 180° on the color wheel.
Is black or white text better on #664D7F?
White text. Black text has a contrast ratio of 2.93:1 and white text 7.16:1. WCAG asks for at least 4.5:1 for normal text.