#545162 color
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 | |
|---|---|---|
| RGB | rgb(84, 81, 98) | |
| RGB percent | rgb(32.9%, 31.8%, 38.4%) | |
| HSL | hsl(251, 9%, 35%) | |
| HSV / HSB | hsv(251, 17%, 38%) | |
| CMYK | cmyk(14%, 17%, 0%, 62%) | |
| CIE LAB | lab(35.3, 5.08, -9.41) | |
| CIE LCH | lch(35.3, 10.7, 298.35) | |
| CIE XYZ | xyz(8.803, 8.651, 12.759) | |
| Decimal | 5525858 | |
| Short hex | None (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 #545162 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.73:1 | Fail | Fail | Fail |
| Sample text | 7.69:1 | Pass | Pass | Pass |
| #545162 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.69:1 | Pass | Pass | Pass |
| Sample text | 2.73: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 #545162 looks to people with the most common types of color vision deficiency.
#4d5363Protanopia
no red cones#4e5361Deuteranopia
no green cones#515457Tritanopia
no blue cones#535353Achromatopsia
no color vision
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); }
Similar colors
#565266Freefall#525463Black Orchid#545663Blackwater#555570Majestic Magic#605d6bSmoky#484753Gun Powder#4d516cIntergalactic#625665Fedora
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.