#340D49 color

#340D49 rgb(52, 13, 73)
Shades of purple

The hex color #340D49 is a very dark, moderate violet.

In the RGB color model it is made of 20.4% red, 5.1% green and 28.6% blue (52, 13, 73).

Its hue angle is 279°, with 70% saturation and 17% lightness. For print, the CMYK equivalent is 29% cyan, 82% magenta, 0% yellow and 71% black.

The closest named color is Romanic Scene (#3B0346), a difference of 2.8 ΔE, a small difference.

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

#340D49 color codes

HEX#340D49
RGBrgb(52, 13, 73)
RGB percentrgb(20.4%, 5.1%, 28.6%)
HSLhsl(279, 70%, 17%)
HSV / HSBhsv(279, 82%, 29%)
CMYKcmyk(29%, 82%, 0%, 71%)
CIE LABlab(12.6, 30.45, -28.63)
CIE LCHlch(12.6, 41.8, 316.76)
CIE XYZxyz(2.762, 1.499, 6.446)
Decimal3411273
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #340D49, 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 #340D49RatioAAAAAAA large
Sample text1.3:1FailFailFail
Sample text16.16:1PassPassPass
#340D49 as text onRatioAAAAAAA large
Sample text16.16:1PassPassPass
Sample text1.3: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 #340D49 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #340d49; }
.text { color: #340d49; }
.border { border: 2px solid #340d49; }
.transparent { background-color: rgb(52 13 73 / 50%); }
.gradient { background: linear-gradient(to right, #340d49, #490d40); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #340D49?
#340D49 is a very dark, moderate violet, closest to the named color Romanic Scene. It belongs to the purple family of colors.
What is the RGB value of #340D49?
The RGB value is 52, 13, 73: 52 red, 13 green and 73 blue on a 0 to 255 scale.
What is the complementary color of #340D49?
The complementary color is #22490D, found by rotating the hue 180° on the color wheel.
Is black or white text better on #340D49?
White text. Black text has a contrast ratio of 1.3:1 and white text 16.16:1. WCAG asks for at least 4.5:1 for normal text.