#341831 color
The hex color #341831 is a very dark, desaturated magenta.
In the RGB color model it is made of 20.4% red, 9.4% green and 19.2% blue (52, 24, 49).
Its hue angle is 306°, with 37% saturation and 15% lightness. For print, the CMYK equivalent is 0% cyan, 54% magenta, 6% yellow and 80% black.
The closest named color is Dark Purple (#301934), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.9:1).
#341831 color codes
| HEX | #341831 | |
|---|---|---|
| RGB | rgb(52, 24, 49) | |
| RGB percent | rgb(20.4%, 9.4%, 19.2%) | |
| HSL | hsl(306, 37%, 15%) | |
| HSV / HSB | hsv(306, 54%, 20%) | |
| CMYK | cmyk(0%, 54%, 6%, 80%) | |
| CIE LAB | lab(13.26, 18.43, -10.58) | |
| CIE LCH | lch(13.26, 21.25, 330.15) | |
| CIE XYZ | xyz(2.297, 1.605, 3.094) | |
| Decimal | 3414065 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #341831, 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 #341831 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.32:1 | Fail | Fail | Fail |
| Sample text | 15.9:1 | Pass | Pass | Pass |
| #341831 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.9:1 | Pass | Pass | Pass |
| Sample text | 1.32: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 #341831 looks to people with the most common types of color vision deficiency.
#172032Protanopia
no red cones#1f2330Deuteranopia
no green cones#361a22Tritanopia
no blue cones#222222Achromatopsia
no color vision
CSS examples
.background { background-color: #341831; }
.text { color: #341831; }
.border { border: 2px solid #341831; }
.transparent { background-color: rgb(52 24 49 / 50%); }
.gradient { background: linear-gradient(to right, #341831, #341823); }
Similar colors
#301934Dark Purple#391531Nightly Voyager#2b0f2eDark Prom Queen#3b193fCreatures of the Night#442244Purple Void#43182fBlackberry#220022Black Sabbath#2c1620Black Cherry
Questions
- What color is #341831?
- #341831 is a very dark, desaturated magenta, closest to the named color Dark Purple. It belongs to the purple family of colors.
- What is the RGB value of #341831?
- The RGB value is 52, 24, 49: 52 red, 24 green and 49 blue on a 0 to 255 scale.
- What is the complementary color of #341831?
- The complementary color is #18341B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #341831?
- White text. Black text has a contrast ratio of 1.32:1 and white text 15.9:1. WCAG asks for at least 4.5:1 for normal text.