#664C7D color

#664C7D rgb(102, 76, 125)
Shades of purple

The hex color #664C7D is a grayish violet.

In the RGB color model it is made of 40% red, 29.8% green and 49% blue (102, 76, 125).

Its hue angle is 272°, with 24% saturation and 39% lightness. For print, the CMYK equivalent is 18% cyan, 39% magenta, 0% yellow and 51% 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.25:1).

#664C7D color codes

HEX#664C7D
RGBrgb(102, 76, 125)
RGB percentrgb(40%, 29.8%, 49%)
HSLhsl(272, 24%, 39%)
HSV / HSBhsv(272, 39%, 49%)
CMYKcmyk(18%, 39%, 0%, 51%)
CIE LABlab(36.88, 21.24, -23.65)
CIE LCHlch(36.88, 31.79, 311.93)
CIE XYZxyz(11.765, 9.474, 20.607)
Decimal6704253
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Royal Purple.

Questions

What color is #664C7D?
#664C7D 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 #664C7D?
The RGB value is 102, 76, 125: 102 red, 76 green and 125 blue on a 0 to 255 scale.
What is the complementary color of #664C7D?
The complementary color is #637D4C, found by rotating the hue 180° on the color wheel.
Is black or white text better on #664C7D?
White text. Black text has a contrast ratio of 2.89:1 and white text 7.25:1. WCAG asks for at least 4.5:1 for normal text.