#52415F color
The hex color #52415F is a dark, grayish violet.
In the RGB color model it is made of 32.2% red, 25.5% green and 37.3% blue (82, 65, 95).
Its hue angle is 274°, with 19% saturation and 31% lightness. For print, the CMYK equivalent is 14% cyan, 32% magenta, 0% yellow and 63% black.
The closest named color is Nightly Walk (#544563), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.21:1).
#52415F color codes
| HEX | #52415F | |
|---|---|---|
| RGB | rgb(82, 65, 95) | |
| RGB percent | rgb(32.2%, 25.5%, 37.3%) | |
| HSL | hsl(274, 19%, 31%) | |
| HSV / HSB | hsv(274, 32%, 37%) | |
| CMYK | cmyk(14%, 32%, 0%, 63%) | |
| CIE LAB | lab(30.4, 13.83, -14.99) | |
| CIE LCH | lch(30.4, 20.4, 312.69) | |
| CIE XYZ | xyz(7.435, 6.401, 11.668) | |
| Decimal | 5390687 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #52415F, 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 #52415F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.28:1 | Fail | Fail | Fail |
| Sample text | 9.21:1 | Pass | Pass | Pass |
| #52415F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.21:1 | Pass | Pass | Pass |
| Sample text | 2.28: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 #52415F looks to people with the most common types of color vision deficiency.
#3c4760Protanopia
no red cones#3f485eDeuteranopia
no green cones#51454cTritanopia
no blue cones#484848Achromatopsia
no color vision
CSS examples
.background { background-color: #52415f; }
.text { color: #52415f; }
.border { border: 2px solid #52415f; }
.transparent { background-color: rgb(82 65 95 / 50%); }
.gradient { background: linear-gradient(to right, #52415f, #5f415d); }
Similar colors
#544563Nightly Walk#57446aHaunted Candelabra#61496eYour Majesty#42364cCall It a Night#3f354fMaharaja#4e334eShadow Purple#64435fGrape Fizz#4a3b6aMeteorite
Closest common color name: Eggplant.
Questions
- What color is #52415F?
- #52415F is a dark, grayish violet, closest to the named color Nightly Walk. It belongs to the purple family of colors.
- What is the RGB value of #52415F?
- The RGB value is 82, 65, 95: 82 red, 65 green and 95 blue on a 0 to 255 scale.
- What is the complementary color of #52415F?
- The complementary color is #4E5F41, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #52415F?
- White text. Black text has a contrast ratio of 2.28:1 and white text 9.21:1. WCAG asks for at least 4.5:1 for normal text.