#513F9D color
The hex color #513F9D is a desaturated violet.
In the RGB color model it is made of 31.8% red, 24.7% green and 61.6% blue (81, 63, 157).
Its hue angle is 251°, with 43% saturation and 43% lightness. For print, the CMYK equivalent is 48% cyan, 60% magenta, 0% yellow and 38% black.
The closest named color is Blueberry (#464196), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.24:1).
#513F9D color codes
| HEX | #513F9D | |
|---|---|---|
| RGB | rgb(81, 63, 157) | |
| RGB percent | rgb(31.8%, 24.7%, 61.6%) | |
| HSL | hsl(251, 43%, 43%) | |
| HSV / HSB | hsv(251, 60%, 62%) | |
| CMYK | cmyk(48%, 60%, 0%, 38%) | |
| CIE LAB | lab(33.43, 32.46, -48.83) | |
| CIE LCH | lch(33.43, 58.64, 303.61) | |
| CIE XYZ | xyz(11.255, 7.738, 32.792) | |
| Decimal | 5324701 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #513F9D, 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 #513F9D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.55:1 | Fail | Fail | Fail |
| Sample text | 8.24:1 | Pass | Pass | Pass |
| #513F9D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.24:1 | Pass | Pass | Pass |
| Sample text | 2.55: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 #513F9D looks to people with the most common types of color vision deficiency.
#0051a0Protanopia
no red cones#004c9bDeuteranopia
no green cones#385468Tritanopia
no blue cones#4f4f4fAchromatopsia
no color vision
CSS examples
.background { background-color: #513f9d; }
.text { color: #513f9d; }
.border { border: 2px solid #513f9d; }
.transparent { background-color: rgb(81 63 157 / 50%); }
.gradient { background: linear-gradient(to right, #513f9d, #803f9d); }
Similar colors
#464196Blueberry#573894Ruthless Empress#483d8bDark Slate Blue#444499Galaxy Express#443388Majestic Eggplant#472e97Galactic Purple#5930a9Royalty#6b3fa0Poppy Pompadour
Questions
- What color is #513F9D?
- #513F9D is a desaturated violet, closest to the named color Blueberry. It belongs to the blue family of colors.
- What is the RGB value of #513F9D?
- The RGB value is 81, 63, 157: 81 red, 63 green and 157 blue on a 0 to 255 scale.
- What is the complementary color of #513F9D?
- The complementary color is #8B9D3F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #513F9D?
- White text. Black text has a contrast ratio of 2.55:1 and white text 8.24:1. WCAG asks for at least 4.5:1 for normal text.