#342749 color
The hex color #342749 is a dark, desaturated violet.
In the RGB color model it is made of 20.4% red, 15.3% green and 28.6% blue (52, 39, 73).
Its hue angle is 263°, with 30% saturation and 22% lightness. For print, the CMYK equivalent is 29% cyan, 47% magenta, 0% yellow and 71% black.
The closest named color is Midnight Pie (#372D52), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.7:1).
#342749 color codes
| HEX | #342749 | |
|---|---|---|
| RGB | rgb(52, 39, 73) | |
| RGB percent | rgb(20.4%, 15.3%, 28.6%) | |
| HSL | hsl(263, 30%, 22%) | |
| HSV / HSB | hsv(263, 47%, 29%) | |
| CMYK | cmyk(29%, 47%, 0%, 71%) | |
| CIE LAB | lab(18.64, 14.54, -19) | |
| CIE LCH | lch(18.64, 23.93, 307.42) | |
| CIE XYZ | xyz(3.344, 2.662, 6.64) | |
| Decimal | 3417929 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #342749, 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 #342749 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.53:1 | Fail | Fail | Fail |
| Sample text | 13.7:1 | Pass | Pass | Pass |
| #342749 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.7:1 | Pass | Pass | Pass |
| Sample text | 1.53: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 #342749 looks to people with the most common types of color vision deficiency.
#1e2d4aProtanopia
no red cones#212d48Deuteranopia
no green cones#302d34Tritanopia
no blue cones#2d2d2dAchromatopsia
no color vision
CSS examples
.background { background-color: #342749; }
.text { color: #342749; }
.border { border: 2px solid #342749; }
.transparent { background-color: rgb(52 39 73 / 50%); }
.gradient { background: linear-gradient(to right, #342749, #452749); }
Similar colors
#372d52Midnight Pie#2a2243Midnight Velvet#3c2f4eSanctum of Shadows#322c56Purple Noir#2a2551Pāua#372354Stormy Night#222244Black Market#3f354fMaharaja
Closest common color name: Dark Purple.
Questions
- What color is #342749?
- #342749 is a dark, desaturated violet, closest to the named color Midnight Pie. It belongs to the purple family of colors.
- What is the RGB value of #342749?
- The RGB value is 52, 39, 73: 52 red, 39 green and 73 blue on a 0 to 255 scale.
- What is the complementary color of #342749?
- The complementary color is #3C4927, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #342749?
- White text. Black text has a contrast ratio of 1.53:1 and white text 13.7:1. WCAG asks for at least 4.5:1 for normal text.