#34284C color

#34284C rgb(52, 40, 76)
Shades of purple

The hex color #34284C is a dark, desaturated violet.

In the RGB color model it is made of 20.4% red, 15.7% green and 29.8% blue (52, 40, 76).

Its hue angle is 260°, with 31% saturation and 23% lightness. For print, the CMYK equivalent is 32% cyan, 47% magenta, 0% yellow and 70% black.

The closest named color is Midnight Pie (#372D52), a difference of 1.7 ΔE, which is barely visible.

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

#34284C color codes

HEX#34284C
RGBrgb(52, 40, 76)
RGB percentrgb(20.4%, 15.7%, 29.8%)
HSLhsl(260, 31%, 23%)
HSV / HSBhsv(260, 47%, 30%)
CMYKcmyk(32%, 47%, 0%, 70%)
CIE LABlab(19.1, 14.74, -20.32)
CIE LCHlch(19.1, 25.1, 305.96)
CIE XYZxyz(3.479, 2.769, 7.187)
Decimal3418188
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #34284C, 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 #34284CRatioAAAAAAA large
Sample text1.55:1FailFailFail
Sample text13.51:1PassPassPass
#34284C as text onRatioAAAAAAA large
Sample text13.51:1PassPassPass
Sample text1.55: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 #34284C looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #34284c; }
.text { color: #34284c; }
.border { border: 2px solid #34284c; }
.transparent { background-color: rgb(52 40 76 / 50%); }
.gradient { background: linear-gradient(to right, #34284c, #46284c); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #34284C?
#34284C is a dark, desaturated violet, closest to the named color Midnight Pie. It belongs to the purple family of colors.
What is the RGB value of #34284C?
The RGB value is 52, 40, 76: 52 red, 40 green and 76 blue on a 0 to 255 scale.
What is the complementary color of #34284C?
The complementary color is #404C28, found by rotating the hue 180° on the color wheel.
Is black or white text better on #34284C?
White text. Black text has a contrast ratio of 1.55:1 and white text 13.51:1. WCAG asks for at least 4.5:1 for normal text.