#5F4397 color
The hex color #5F4397 is a desaturated violet.
In the RGB color model it is made of 37.3% red, 26.3% green and 59.2% blue (95, 67, 151).
Its hue angle is 260°, with 39% saturation and 43% lightness. For print, the CMYK equivalent is 37% cyan, 56% magenta, 0% yellow and 41% black.
The closest named color is Poppy Pompadour (#6B3FA0), a difference of 3.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.67:1).
#5F4397 color codes
| HEX | #5F4397 | |
|---|---|---|
| RGB | rgb(95, 67, 151) | |
| RGB percent | rgb(37.3%, 26.3%, 59.2%) | |
| HSL | hsl(260, 39%, 43%) | |
| HSV / HSB | hsv(260, 56%, 59%) | |
| CMYK | cmyk(37%, 56%, 0%, 41%) | |
| CIE LAB | lab(35.36, 31.59, -42.02) | |
| CIE LCH | lch(35.36, 52.56, 306.94) | |
| CIE XYZ | xyz(12.311, 8.681, 30.299) | |
| Decimal | 6243223 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5F4397, 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 #5F4397 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.74:1 | Fail | Fail | Fail |
| Sample text | 7.67:1 | Pass | Pass | Pass |
| #5F4397 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.67:1 | Pass | Pass | Pass |
| Sample text | 2.74: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 #5F4397 looks to people with the most common types of color vision deficiency.
#1e549aProtanopia
no red cones#265295Deuteranopia
no green cones#525466Tritanopia
no blue cones#535353Achromatopsia
no color vision
CSS examples
.background { background-color: #5f4397; }
.text { color: #5f4397; }
.border { border: 2px solid #5f4397; }
.transparent { background-color: rgb(95 67 151 / 50%); }
.gradient { background: linear-gradient(to right, #5f4397, #894397); }
Similar colors
#6b3fa0Poppy Pompadour#573894Ruthless Empress#654ea3Ultrapurple Merge#664488Lords of the Night#69359cPurple Heart#663399Rebecca Purple#483d8bDark Slate Blue#583580Kingfisher Daisy
Questions
- What color is #5F4397?
- #5F4397 is a desaturated violet, closest to the named color Poppy Pompadour. It belongs to the purple family of colors.
- What is the RGB value of #5F4397?
- The RGB value is 95, 67, 151: 95 red, 67 green and 151 blue on a 0 to 255 scale.
- What is the complementary color of #5F4397?
- The complementary color is #7B9743, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5F4397?
- White text. Black text has a contrast ratio of 2.74:1 and white text 7.67:1. WCAG asks for at least 4.5:1 for normal text.