#565162 color
The hex color #565162 is a dark, grayish violet.
In the RGB color model it is made of 33.7% red, 31.8% green and 38.4% blue (86, 81, 98).
Its hue angle is 258°, with 9% saturation and 35% lightness. For print, the CMYK equivalent is 12% cyan, 17% magenta, 0% yellow and 62% black.
The closest named color is Freefall (#565266), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.64:1).
#565162 color codes
| HEX | #565162 | |
|---|---|---|
| RGB | rgb(86, 81, 98) | |
| RGB percent | rgb(33.7%, 31.8%, 38.4%) | |
| HSL | hsl(258, 9%, 35%) | |
| HSV / HSB | hsv(258, 17%, 38%) | |
| CMYK | cmyk(12%, 17%, 0%, 62%) | |
| CIE LAB | lab(35.49, 5.83, -9.12) | |
| CIE LCH | lch(35.49, 10.82, 302.59) | |
| CIE XYZ | xyz(8.984, 8.745, 12.768) | |
| Decimal | 5656930 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #565162, 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 #565162 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.75:1 | Fail | Fail | Fail |
| Sample text | 7.64:1 | Pass | Pass | Pass |
| #565162 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.64:1 | Pass | Pass | Pass |
| Sample text | 2.75: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 #565162 looks to people with the most common types of color vision deficiency.
#4e5363Protanopia
no red cones#4e5361Deuteranopia
no green cones#545357Tritanopia
no blue cones#535353Achromatopsia
no color vision
CSS examples
.background { background-color: #565162; }
.text { color: #565162; }
.border { border: 2px solid #565162; }
.transparent { background-color: rgb(86 81 98 / 50%); }
.gradient { background: linear-gradient(to right, #565162, #5f5162); }
Similar colors
#565266Freefall#525463Black Orchid#625665Fedora#605d6bSmoky#555570Majestic Magic#4f4554Black Magic#545663Blackwater#484753Gun Powder
Closest common color name: Eggplant.
Questions
- What color is #565162?
- #565162 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 #565162?
- The RGB value is 86, 81, 98: 86 red, 81 green and 98 blue on a 0 to 255 scale.
- What is the complementary color of #565162?
- The complementary color is #5D6251, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #565162?
- White text. Black text has a contrast ratio of 2.75:1 and white text 7.64:1. WCAG asks for at least 4.5:1 for normal text.