#343142 color
The hex color #343142 is a dark, grayish violet.
In the RGB color model it is made of 20.4% red, 19.2% green and 25.9% blue (52, 49, 66).
Its hue angle is 251°, with 15% saturation and 23% lightness. For print, the CMYK equivalent is 21% cyan, 26% magenta, 0% yellow and 74% black.
The closest named color is Shuriken (#333344), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.62:1).
#343142 color codes
| HEX | #343142 | |
|---|---|---|
| RGB | rgb(52, 49, 66) | |
| RGB percent | rgb(20.4%, 19.2%, 25.9%) | |
| HSL | hsl(251, 15%, 23%) | |
| HSV / HSB | hsv(251, 26%, 26%) | |
| CMYK | cmyk(21%, 26%, 0%, 74%) | |
| CIE LAB | lab(21.28, 5.61, -10.14) | |
| CIE LCH | lch(21.28, 11.59, 298.95) | |
| CIE XYZ | xyz(3.498, 3.32, 5.61) | |
| Decimal | 3420482 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #343142, 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 #343142 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.66:1 | Fail | Fail | Fail |
| Sample text | 12.62:1 | Pass | Pass | Pass |
| #343142 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.62:1 | Pass | Pass | Pass |
| Sample text | 1.66: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 #343142 looks to people with the most common types of color vision deficiency.
#2d3343Protanopia
no red cones#2d3342Deuteranopia
no green cones#313437Tritanopia
no blue cones#333333Achromatopsia
no color vision
CSS examples
.background { background-color: #343142; }
.text { color: #343142; }
.border { border: 2px solid #343142; }
.transparent { background-color: rgb(52 49 66 / 50%); }
.gradient { background: linear-gradient(to right, #343142, #3c3142); }
Similar colors
#333344Shuriken#393540Professor Plum#35343fWitches Cauldron#2c2a35Haiti#2c2e47Midnight Masquerade#403547Royal Decree#413d4bItalian Grape#303543Total Eclipse
Closest common color name: Jet Black.
Questions
- What color is #343142?
- #343142 is a dark, grayish violet, closest to the named color Shuriken. It belongs to the gray family of colors.
- What is the RGB value of #343142?
- The RGB value is 52, 49, 66: 52 red, 49 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #343142?
- The complementary color is #3F4231, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #343142?
- White text. Black text has a contrast ratio of 1.66:1 and white text 12.62:1. WCAG asks for at least 4.5:1 for normal text.