#34264A color
The hex color #34264A is a dark, desaturated violet.
In the RGB color model it is made of 20.4% red, 14.9% green and 29% blue (52, 38, 74).
Its hue angle is 263°, with 32% saturation and 22% lightness. For print, the CMYK equivalent is 30% cyan, 49% magenta, 0% yellow and 71% black.
The closest named color is Midnight Pie (#372D52), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.8:1).
#34264A color codes
| HEX | #34264A | |
|---|---|---|
| RGB | rgb(52, 38, 74) | |
| RGB percent | rgb(20.4%, 14.9%, 29%) | |
| HSL | hsl(263, 32%, 22%) | |
| HSV / HSB | hsv(263, 49%, 29%) | |
| CMYK | cmyk(30%, 49%, 0%, 71%) | |
| CIE LAB | lab(18.41, 15.53, -20.04) | |
| CIE LCH | lch(18.41, 25.35, 307.77) | |
| CIE XYZ | xyz(3.345, 2.611, 6.805) | |
| Decimal | 3417674 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #34264A, 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 #34264A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.52:1 | Fail | Fail | Fail |
| Sample text | 13.8:1 | Pass | Pass | Pass |
| #34264A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.8:1 | Pass | Pass | Pass |
| Sample text | 1.52: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 #34264A looks to people with the most common types of color vision deficiency.
#1c2d4bProtanopia
no red cones#1f2d49Deuteranopia
no green cones#302c34Tritanopia
no blue cones#2d2d2dAchromatopsia
no color vision
CSS examples
.background { background-color: #34264a; }
.text { color: #34264a; }
.border { border: 2px solid #34264a; }
.transparent { background-color: rgb(52 38 74 / 50%); }
.gradient { background: linear-gradient(to right, #34264a, #46264a); }
Similar colors
#372d52Midnight Pie#2a2243Midnight Velvet#3c2f4eSanctum of Shadows#322c56Purple Noir#372354Stormy Night#2a2551Pāua#222244Black Market#211d49Azulado
Closest common color name: Dark Purple.
Questions
- What color is #34264A?
- #34264A 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 #34264A?
- The RGB value is 52, 38, 74: 52 red, 38 green and 74 blue on a 0 to 255 scale.
- What is the complementary color of #34264A?
- The complementary color is #3C4A26, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #34264A?
- White text. Black text has a contrast ratio of 1.52:1 and white text 13.8:1. WCAG asks for at least 4.5:1 for normal text.