#504B5A color

#504B5A rgb(80, 75, 90)
Shades of gray

The hex color #504B5A is a dark, grayish violet.

In the RGB color model it is made of 31.4% red, 29.4% green and 35.3% blue (80, 75, 90).

Its hue angle is 260°, with 9% saturation and 32% lightness. For print, the CMYK equivalent is 11% cyan, 17% magenta, 0% yellow and 65% black.

The closest named color is Black Magic (#4F4554), a difference of 2.9 ΔE, a small difference.

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

#504B5A color codes

HEX#504B5A
RGBrgb(80, 75, 90)
RGB percentrgb(31.4%, 29.4%, 35.3%)
HSLhsl(260, 9%, 32%)
HSV / HSBhsv(260, 17%, 35%)
CMYKcmyk(11%, 17%, 0%, 65%)
CIE LABlab(32.87, 5.43, -8.07)
CIE LCHlch(32.87, 9.73, 303.94)
CIE XYZxyz(7.669, 7.476, 10.71)
Decimal5262170
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #504b5a; }
.text { color: #504b5a; }
.border { border: 2px solid #504b5a; }
.transparent { background-color: rgb(80 75 90 / 50%); }
.gradient { background: linear-gradient(to right, #504b5a, #574b5a); }
Background
Text color
Border

Similar colors

Closest common color name: Eggplant.

Questions

What color is #504B5A?
#504B5A is a dark, grayish violet, closest to the named color Black Magic. It belongs to the gray family of colors.
What is the RGB value of #504B5A?
The RGB value is 80, 75, 90: 80 red, 75 green and 90 blue on a 0 to 255 scale.
What is the complementary color of #504B5A?
The complementary color is #555A4B, found by rotating the hue 180° on the color wheel.
Is black or white text better on #504B5A?
White text. Black text has a contrast ratio of 2.5:1 and white text 8.42:1. WCAG asks for at least 4.5:1 for normal text.