#3A334D color

#3A334D rgb(58, 51, 77)
Shades of purple

The hex color #3A334D is a dark, grayish violet.

In the RGB color model it is made of 22.7% red, 20% green and 30.2% blue (58, 51, 77).

Its hue angle is 256°, with 20% saturation and 25% lightness. For print, the CMYK equivalent is 25% cyan, 34% magenta, 0% yellow and 70% black.

The closest named color is Maharaja (#3F354F), a difference of 1.5 ΔE, which is barely visible.

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

#3A334D color codes

HEX#3A334D
RGBrgb(58, 51, 77)
RGB percentrgb(22.7%, 20%, 30.2%)
HSLhsl(256, 20%, 25%)
HSV / HSBhsv(256, 34%, 30%)
CMYKcmyk(25%, 34%, 0%, 70%)
CIE LABlab(23.01, 9.58, -14.83)
CIE LCHlch(23.01, 17.65, 302.85)
CIE XYZxyz(4.268, 3.803, 7.529)
Decimal3814221
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #3A334D, 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 #3A334DRatioAAAAAAA large
Sample text1.76:1FailFailFail
Sample text11.93:1PassPassPass
#3A334D as text onRatioAAAAAAA large
Sample text11.93:1PassPassPass
Sample text1.76: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 #3A334D looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #3a334d; }
.text { color: #3a334d; }
.border { border: 2px solid #3a334d; }
.transparent { background-color: rgb(58 51 77 / 50%); }
.gradient { background: linear-gradient(to right, #3a334d, #47334d); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #3A334D?
#3A334D is a dark, grayish violet, closest to the named color Maharaja. It belongs to the purple family of colors.
What is the RGB value of #3A334D?
The RGB value is 58, 51, 77: 58 red, 51 green and 77 blue on a 0 to 255 scale.
What is the complementary color of #3A334D?
The complementary color is #464D33, found by rotating the hue 180° on the color wheel.
Is black or white text better on #3A334D?
White text. Black text has a contrast ratio of 1.76:1 and white text 11.93:1. WCAG asks for at least 4.5:1 for normal text.