#795274 color
The hex color #795274 is a grayish magenta.
In the RGB color model it is made of 47.5% red, 32.2% green and 45.5% blue (121, 82, 116).
Its hue angle is 308°, with 19% saturation and 40% lightness. For print, the CMYK equivalent is 0% cyan, 32% magenta, 4% yellow and 53% black.
The closest named color is Dr Who (#78587D), a difference of 2.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.42:1).
#795274 color codes
| HEX | #795274 | |
|---|---|---|
| RGB | rgb(121, 82, 116) | |
| RGB percent | rgb(47.5%, 32.2%, 45.5%) | |
| HSL | hsl(308, 19%, 40%) | |
| HSV / HSB | hsv(308, 32%, 47%) | |
| CMYK | cmyk(0%, 32%, 4%, 53%) | |
| CIE LAB | lab(40.18, 22.24, -12.84) | |
| CIE LCH | lch(40.18, 25.68, 329.99) | |
| CIE XYZ | xyz(14.055, 11.361, 17.972) | |
| Decimal | 7950964 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #795274, 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 #795274 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.27:1 | Fail | Fail | Pass |
| Sample text | 6.42:1 | Pass | Fail | Pass |
| #795274 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.42:1 | Pass | Fail | Pass |
| Sample text | 3.27:1 | Fail | Fail | Pass |
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 #795274 looks to people with the most common types of color vision deficiency.
#515b75Protanopia
no red cones#5a6173Deuteranopia
no green cones#7c545eTritanopia
no blue cones#5f5f5fAchromatopsia
no color vision
CSS examples
.background { background-color: #795274; }
.text { color: #795274; }
.border { border: 2px solid #795274; }
.transparent { background-color: rgb(121 82 116 / 50%); }
.gradient { background: linear-gradient(to right, #795274, #795261); }
Similar colors
#78587dDr Who#885577Plum Highness#7f4774Magic Magenta#784674Purple Passion#82476fGrape Kiss#6f5166Hibernation#805b87Muted Purple#784467Magician’s Cloak
Closest common color name: Plum.
Questions
- What color is #795274?
- #795274 is a grayish magenta, closest to the named color Dr Who. It belongs to the purple family of colors.
- What is the RGB value of #795274?
- The RGB value is 121, 82, 116: 121 red, 82 green and 116 blue on a 0 to 255 scale.
- What is the complementary color of #795274?
- The complementary color is #527957, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #795274?
- White text. Black text has a contrast ratio of 3.27:1 and white text 6.42:1. WCAG asks for at least 4.5:1 for normal text.