#545162 color

#545162 rgb(84, 81, 98)
Shades of gray

The hex color #545162 is a dark, grayish violet.

In the RGB color model it is made of 32.9% red, 31.8% green and 38.4% blue (84, 81, 98).

Its hue angle is 251°, with 9% saturation and 35% lightness. For print, the CMYK equivalent is 14% cyan, 17% magenta, 0% yellow and 62% black.

The closest named color is Freefall (#565266), a difference of 1.5 ΔE, which is barely visible.

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

#545162 color codes

HEX#545162
RGBrgb(84, 81, 98)
RGB percentrgb(32.9%, 31.8%, 38.4%)
HSLhsl(251, 9%, 35%)
HSV / HSBhsv(251, 17%, 38%)
CMYKcmyk(14%, 17%, 0%, 62%)
CIE LABlab(35.3, 5.08, -9.41)
CIE LCHlch(35.3, 10.7, 298.35)
CIE XYZxyz(8.803, 8.651, 12.759)
Decimal5525858
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #545162; }
.text { color: #545162; }
.border { border: 2px solid #545162; }
.transparent { background-color: rgb(84 81 98 / 50%); }
.gradient { background: linear-gradient(to right, #545162, #5d5162); }
Background
Text color
Border

Similar colors

Closest common color name: Eggplant.

Questions

What color is #545162?
#545162 is a dark, grayish violet, closest to the named color Freefall. It belongs to the gray family of colors.
What is the RGB value of #545162?
The RGB value is 84, 81, 98: 84 red, 81 green and 98 blue on a 0 to 255 scale.
What is the complementary color of #545162?
The complementary color is #5F6251, found by rotating the hue 180° on the color wheel.
Is black or white text better on #545162?
White text. Black text has a contrast ratio of 2.73:1 and white text 7.69:1. WCAG asks for at least 4.5:1 for normal text.