#342B53 color
The hex color #342B53 is a dark, desaturated violet.
In the RGB color model it is made of 20.4% red, 16.9% green and 32.5% blue (52, 43, 83).
Its hue angle is 253°, with 32% saturation and 25% lightness. For print, the CMYK equivalent is 37% cyan, 48% magenta, 0% yellow and 67% black.
The closest named color is Purple Noir (#322C56), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.99:1).
#342B53 color codes
| HEX | #342B53 | |
|---|---|---|
| RGB | rgb(52, 43, 83) | |
| RGB percent | rgb(20.4%, 16.9%, 32.5%) | |
| HSL | hsl(253, 32%, 25%) | |
| HSV / HSB | hsv(253, 48%, 33%) | |
| CMYK | cmyk(37%, 48%, 0%, 67%) | |
| CIE LAB | lab(20.37, 14.81, -23.02) | |
| CIE LCH | lch(20.37, 27.37, 302.76) | |
| CIE XYZ | xyz(3.841, 3.082, 8.575) | |
| Decimal | 3418963 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #342B53, 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 #342B53 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.62:1 | Fail | Fail | Fail |
| Sample text | 12.99:1 | Pass | Pass | Pass |
| #342B53 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.99:1 | Pass | Pass | Pass |
| Sample text | 1.62: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 #342B53 looks to people with the most common types of color vision deficiency.
#1e3254Protanopia
no red cones#1f3052Deuteranopia
no green cones#2d333bTritanopia
no blue cones#313131Achromatopsia
no color vision
CSS examples
.background { background-color: #342b53; }
.text { color: #342b53; }
.border { border: 2px solid #342b53; }
.transparent { background-color: rgb(52 43 83 / 50%); }
.gradient { background: linear-gradient(to right, #342b53, #482b53); }
Similar colors
#322c56Purple Noir#372d52Midnight Pie#2a2551Pāua#2c2c57Deep Sea Base#2a2243Midnight Velvet#3c2f4eSanctum of Shadows#372354Stormy Night#2e305eGalaxea
Closest common color name: Dark Purple.
Questions
- What color is #342B53?
- #342B53 is a dark, desaturated violet, closest to the named color Purple Noir. It belongs to the blue family of colors.
- What is the RGB value of #342B53?
- The RGB value is 52, 43, 83: 52 red, 43 green and 83 blue on a 0 to 255 scale.
- What is the complementary color of #342B53?
- The complementary color is #4A532B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #342B53?
- White text. Black text has a contrast ratio of 1.62:1 and white text 12.99:1. WCAG asks for at least 4.5:1 for normal text.