#562F87 color
The hex color #562F87 is a dark, desaturated violet.
In the RGB color model it is made of 33.7% red, 18.4% green and 52.9% blue (86, 47, 135).
Its hue angle is 267°, with 48% saturation and 36% lightness. For print, the CMYK equivalent is 36% cyan, 65% magenta, 0% yellow and 47% black.
The closest named color is Night Fever (#572E89), a difference of 0.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.76:1).
#562F87 color codes
| HEX | #562F87 | |
|---|---|---|
| RGB | rgb(86, 47, 135) | |
| RGB percent | rgb(33.7%, 18.4%, 52.9%) | |
| HSL | hsl(267, 48%, 36%) | |
| HSV / HSB | hsv(267, 65%, 53%) | |
| CMYK | cmyk(36%, 65%, 0%, 47%) | |
| CIE LAB | lab(28.8, 36.69, -42.8) | |
| CIE LCH | lch(28.8, 56.37, 310.6) | |
| CIE XYZ | xyz(9.226, 5.761, 23.543) | |
| Decimal | 5648263 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #562F87, 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 #562F87 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.15:1 | Fail | Fail | Fail |
| Sample text | 9.76:1 | Pass | Pass | Pass |
| #562F87 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.76:1 | Pass | Pass | Pass |
| Sample text | 2.15: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 #562F87 looks to people with the most common types of color vision deficiency.
#00448aProtanopia
no red cones#0b4385Deuteranopia
no green cones#4c4256Tritanopia
no blue cones#444444Achromatopsia
no color vision
CSS examples
.background { background-color: #562f87; }
.text { color: #562f87; }
.border { border: 2px solid #562f87; }
.transparent { background-color: rgb(86 47 135 / 50%); }
.gradient { background: linear-gradient(to right, #562f87, #822f87); }
Similar colors
#572e89Night Fever#5c2e88Purple Patch#583580Kingfisher Daisy#632f92Lucid Dreams#573894Ruthless Empress#4b2c74Mystic Nights#5b1e8bIntergalactic Settlement#663399Rebecca Purple
Questions
- What color is #562F87?
- #562F87 is a dark, desaturated violet, closest to the named color Night Fever. It belongs to the purple family of colors.
- What is the RGB value of #562F87?
- The RGB value is 86, 47, 135: 86 red, 47 green and 135 blue on a 0 to 255 scale.
- What is the complementary color of #562F87?
- The complementary color is #60872F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #562F87?
- White text. Black text has a contrast ratio of 2.15:1 and white text 9.76:1. WCAG asks for at least 4.5:1 for normal text.