#4A3271 color

#4A3271 rgb(74, 50, 113)
Shades of purple

The hex color #4A3271 is a dark, desaturated violet.

In the RGB color model it is made of 29% red, 19.6% green and 44.3% blue (74, 50, 113).

Its hue angle is 263°, with 39% saturation and 32% lightness. For print, the CMYK equivalent is 35% cyan, 56% magenta, 0% yellow and 56% black.

The closest named color is Her Highness (#432E6F), a difference of 1.7 ΔE, which is barely visible.

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

#4A3271 color codes

HEX#4A3271
RGBrgb(74, 50, 113)
RGB percentrgb(29%, 19.6%, 44.3%)
HSLhsl(263, 39%, 32%)
HSV / HSBhsv(263, 56%, 44%)
CMYKcmyk(35%, 56%, 0%, 56%)
CIE LABlab(26.53, 25.7, -32.66)
CIE LCHlch(26.53, 41.56, 308.2)
CIE XYZxyz(6.945, 4.929, 16.205)
Decimal4862577
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #4A3271, 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 #4A3271RatioAAAAAAA large
Sample text1.99:1FailFailFail
Sample text10.57:1PassPassPass
#4A3271 as text onRatioAAAAAAA large
Sample text10.57:1PassPassPass
Sample text1.99: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 #4A3271 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #4a3271; }
.text { color: #4a3271; }
.border { border: 2px solid #4a3271; }
.transparent { background-color: rgb(74 50 113 / 50%); }
.gradient { background: linear-gradient(to right, #4a3271, #6a3271); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Slate Blue.

Questions

What color is #4A3271?
#4A3271 is a dark, desaturated violet, closest to the named color Her Highness. It belongs to the purple family of colors.
What is the RGB value of #4A3271?
The RGB value is 74, 50, 113: 74 red, 50 green and 113 blue on a 0 to 255 scale.
What is the complementary color of #4A3271?
The complementary color is #597132, found by rotating the hue 180° on the color wheel.
Is black or white text better on #4A3271?
White text. Black text has a contrast ratio of 1.99:1 and white text 10.57:1. WCAG asks for at least 4.5:1 for normal text.