#4F4666 color
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 | |
|---|---|---|
| RGB | rgb(79, 70, 102) | |
| RGB percent | rgb(31%, 27.5%, 40%) | |
| HSL | hsl(257, 19%, 34%) | |
| HSV / HSB | hsv(257, 31%, 40%) | |
| CMYK | cmyk(23%, 31%, 0%, 60%) | |
| CIE LAB | lab(31.81, 11.31, -17.31) | |
| CIE LCH | lch(31.81, 20.68, 303.16) | |
| CIE XYZ | xyz(7.812, 7.002, 13.508) | |
| Decimal | 5195366 | |
| Short hex | None (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 #4F4666 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.4:1 | Fail | Fail | Fail |
| Sample text | 8.75:1 | Pass | Pass | Pass |
| #4F4666 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.75:1 | Pass | Pass | Pass |
| Sample text | 2.4: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 #4F4666 looks to people with the most common types of color vision deficiency.
#3f4b67Protanopia
no red cones#404a65Deuteranopia
no green cones#4b4b51Tritanopia
no blue cones#4b4b4bAchromatopsia
no color vision
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); }
Similar colors
#544563Nightly Walk#57446aHaunted Candelabra#3d3d63Storm Is Coming#61496eYour Majesty#4a3b6aMeteorite#3e4364Genie#3f354fMaharaja#555570Majestic Magic
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.