#4C2174 color

#4C2174 rgb(76, 33, 116)
Shades of purple

The hex color #4C2174 is a dark, moderate violet.

In the RGB color model it is made of 29.8% red, 12.9% green and 45.5% blue (76, 33, 116).

Its hue angle is 271°, with 56% saturation and 29% lightness. For print, the CMYK equivalent is 34% cyan, 72% magenta, 0% yellow and 55% black.

The closest named color is Mystic Nights (#4B2C74), a difference of 2.9 ΔE, a small difference.

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

#4C2174 color codes

HEX#4C2174
RGBrgb(76, 33, 116)
RGB percentrgb(29.8%, 12.9%, 45.5%)
HSLhsl(271, 56%, 29%)
HSV / HSBhsv(271, 72%, 45%)
CMYKcmyk(34%, 72%, 0%, 55%)
CIE LABlab(23.29, 36.95, -39.78)
CIE LCHlch(23.29, 54.3, 312.89)
CIE XYZxyz(6.676, 3.885, 16.918)
Decimal4989300
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #4C2174, 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 #4C2174RatioAAAAAAA large
Sample text1.78:1FailFailFail
Sample text11.82:1PassPassPass
#4C2174 as text onRatioAAAAAAA large
Sample text11.82:1PassPassPass
Sample text1.78: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 #4C2174 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #4c2174; }
.text { color: #4c2174; }
.border { border: 2px solid #4c2174; }
.transparent { background-color: rgb(76 33 116 / 50%); }
.gradient { background: linear-gradient(to right, #4c2174, #742172); }
Background
Text color
Border

Similar colors

Closest common color name: Indigo.

Questions

What color is #4C2174?
#4C2174 is a dark, moderate violet, closest to the named color Mystic Nights. It belongs to the purple family of colors.
What is the RGB value of #4C2174?
The RGB value is 76, 33, 116: 76 red, 33 green and 116 blue on a 0 to 255 scale.
What is the complementary color of #4C2174?
The complementary color is #497421, found by rotating the hue 180° on the color wheel.
Is black or white text better on #4C2174?
White text. Black text has a contrast ratio of 1.78:1 and white text 11.82:1. WCAG asks for at least 4.5:1 for normal text.