#513D5C color
The hex color #513D5C is a dark, grayish violet.
In the RGB color model it is made of 31.8% red, 23.9% green and 36.1% blue (81, 61, 92).
Its hue angle is 279°, with 20% saturation and 30% lightness. For print, the CMYK equivalent is 12% cyan, 34% magenta, 0% yellow and 64% black.
The closest named color is Nightly Walk (#544563), a difference of 2.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.67:1).
#513D5C color codes
| HEX | #513D5C | |
|---|---|---|
| RGB | rgb(81, 61, 92) | |
| RGB percent | rgb(31.8%, 23.9%, 36.1%) | |
| HSL | hsl(279, 20%, 30%) | |
| HSV / HSB | hsv(279, 34%, 36%) | |
| CMYK | cmyk(12%, 34%, 0%, 64%) | |
| CIE LAB | lab(29.06, 15.31, -15.14) | |
| CIE LCH | lch(29.06, 21.54, 315.32) | |
| CIE XYZ | xyz(6.994, 5.86, 10.886) | |
| Decimal | 5324124 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #513D5C, 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 #513D5C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.17:1 | Fail | Fail | Fail |
| Sample text | 9.67:1 | Pass | Pass | Pass |
| #513D5C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.67:1 | Pass | Pass | Pass |
| Sample text | 2.17: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 #513D5C looks to people with the most common types of color vision deficiency.
#38435dProtanopia
no red cones#3d455bDeuteranopia
no green cones#504148Tritanopia
no blue cones#444444Achromatopsia
no color vision
CSS examples
.background { background-color: #513d5c; }
.text { color: #513d5c; }
.border { border: 2px solid #513d5c; }
.transparent { background-color: rgb(81 61 92 / 50%); }
.gradient { background: linear-gradient(to right, #513d5c, #5c3d57); }
Similar colors
#544563Nightly Walk#57446aHaunted Candelabra#4e334eShadow Purple#543254Purple Prose#5b365eLong Passionate Night#4f325eRoyal Crown#61496eYour Majesty#3f354fMaharaja
Closest common color name: Eggplant.
Questions
- What color is #513D5C?
- #513D5C 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 #513D5C?
- The RGB value is 81, 61, 92: 81 red, 61 green and 92 blue on a 0 to 255 scale.
- What is the complementary color of #513D5C?
- The complementary color is #485C3D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #513D5C?
- White text. Black text has a contrast ratio of 2.17:1 and white text 9.67:1. WCAG asks for at least 4.5:1 for normal text.