#342941 color

#342941 rgb(52, 41, 65)
Shades of purple

The hex color #342941 is a dark, grayish violet.

In the RGB color model it is made of 20.4% red, 16.1% green and 25.5% blue (52, 41, 65).

Its hue angle is 268°, with 23% saturation and 21% lightness. For print, the CMYK equivalent is 20% cyan, 37% magenta, 0% yellow and 75% black.

The closest named color is Sanctum of Shadows (#3C2F4E), a difference of 3.4 ΔE, a small difference.

White text is the more readable choice on this background (contrast 13.64:1).

#342941 color codes

HEX#342941
RGBrgb(52, 41, 65)
RGB percentrgb(20.4%, 16.1%, 25.5%)
HSLhsl(268, 23%, 21%)
HSV / HSBhsv(268, 37%, 25%)
CMYKcmyk(20%, 37%, 0%, 75%)
CIE LABlab(18.79, 10.87, -13.29)
CIE LCHlch(18.79, 17.17, 309.28)
CIE XYZxyz(3.163, 2.698, 5.354)
Decimal3418433
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #342941, 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 #342941RatioAAAAAAA large
Sample text1.54:1FailFailFail
Sample text13.64:1PassPassPass
#342941 as text onRatioAAAAAAA large
Sample text13.64:1PassPassPass
Sample text1.54:1FailFailFail

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 #342941 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #342941; }
.text { color: #342941; }
.border { border: 2px solid #342941; }
.transparent { background-color: rgb(52 41 65 / 50%); }
.gradient { background: linear-gradient(to right, #342941, #402941); }
Background
Text color
Border

Similar colors

Questions

What color is #342941?
#342941 is a dark, grayish violet, closest to the named color Sanctum of Shadows. It belongs to the purple family of colors.
What is the RGB value of #342941?
The RGB value is 52, 41, 65: 52 red, 41 green and 65 blue on a 0 to 255 scale.
What is the complementary color of #342941?
The complementary color is #364129, found by rotating the hue 180° on the color wheel.
Is black or white text better on #342941?
White text. Black text has a contrast ratio of 1.54:1 and white text 13.64:1. WCAG asks for at least 4.5:1 for normal text.