#342C3F color

#342C3F rgb(52, 44, 63)
Shades of purple

The hex color #342C3F is a dark, grayish violet.

In the RGB color model it is made of 20.4% red, 17.3% green and 24.7% blue (52, 44, 63).

Its hue angle is 265°, with 18% saturation and 21% lightness. For print, the CMYK equivalent is 17% cyan, 30% magenta, 0% yellow and 75% black.

The closest named color is Royal Decree (#403547), a difference of 3.4 ΔE, a small difference.

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

#342C3F color codes

HEX#342C3F
RGBrgb(52, 44, 63)
RGB percentrgb(20.4%, 17.3%, 24.7%)
HSLhsl(265, 18%, 21%)
HSV / HSBhsv(265, 30%, 25%)
CMYKcmyk(17%, 30%, 0%, 75%)
CIE LABlab(19.6, 8.24, -10.67)
CIE LCHlch(19.6, 13.48, 307.67)
CIE XYZxyz(3.214, 2.89, 5.09)
Decimal3419199
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #342C3F, 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 #342C3FRatioAAAAAAA large
Sample text1.58:1FailFailFail
Sample text13.31:1PassPassPass
#342C3F as text onRatioAAAAAAA large
Sample text13.31:1PassPassPass
Sample text1.58: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 #342C3F looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #342c3f; }
.text { color: #342c3f; }
.border { border: 2px solid #342c3f; }
.transparent { background-color: rgb(52 44 63 / 50%); }
.gradient { background: linear-gradient(to right, #342c3f, #3e2c3f); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #342C3F?
#342C3F is a dark, grayish violet, closest to the named color Royal Decree. It belongs to the purple family of colors.
What is the RGB value of #342C3F?
The RGB value is 52, 44, 63: 52 red, 44 green and 63 blue on a 0 to 255 scale.
What is the complementary color of #342C3F?
The complementary color is #373F2C, found by rotating the hue 180° on the color wheel.
Is black or white text better on #342C3F?
White text. Black text has a contrast ratio of 1.58:1 and white text 13.31:1. WCAG asks for at least 4.5:1 for normal text.