#4F4666 color

#4F4666 rgb(79, 70, 102)
Shades of purple

The hex color #4F4666 is a dark, grayish violet.

In the RGB color model it is made of 31% red, 27.5% green and 40% blue (79, 70, 102).

Its hue angle is 257°, with 19% saturation and 34% lightness. For print, the CMYK equivalent is 23% cyan, 31% magenta, 0% yellow and 60% black.

The closest named color is Nightly Walk (#544563), a difference of 2.3 ΔE, a small difference.

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

#4F4666 color codes

HEX#4F4666
RGBrgb(79, 70, 102)
RGB percentrgb(31%, 27.5%, 40%)
HSLhsl(257, 19%, 34%)
HSV / HSBhsv(257, 31%, 40%)
CMYKcmyk(23%, 31%, 0%, 60%)
CIE LABlab(31.81, 11.31, -17.31)
CIE LCHlch(31.81, 20.68, 303.16)
CIE XYZxyz(7.812, 7.002, 13.508)
Decimal5195366
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #4F4666, 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 #4F4666RatioAAAAAAA large
Sample text2.4:1FailFailFail
Sample text8.75:1PassPassPass
#4F4666 as text onRatioAAAAAAA large
Sample text8.75:1PassPassPass
Sample text2.4: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 #4F4666 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #4f4666; }
.text { color: #4f4666; }
.border { border: 2px solid #4f4666; }
.transparent { background-color: rgb(79 70 102 / 50%); }
.gradient { background: linear-gradient(to right, #4f4666, #5f4666); }
Background
Text color
Border

Similar colors

Closest common color name: Eggplant.

Questions

What color is #4F4666?
#4F4666 is a dark, grayish violet, closest to the named color Nightly Walk. It belongs to the purple family of colors.
What is the RGB value of #4F4666?
The RGB value is 79, 70, 102: 79 red, 70 green and 102 blue on a 0 to 255 scale.
What is the complementary color of #4F4666?
The complementary color is #5D6646, found by rotating the hue 180° on the color wheel.
Is black or white text better on #4F4666?
White text. Black text has a contrast ratio of 2.4:1 and white text 8.75:1. WCAG asks for at least 4.5:1 for normal text.