#4C407B color

#4C407B rgb(76, 64, 123)
Shades of blue

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

In the RGB color model it is made of 29.8% red, 25.1% green and 48.2% blue (76, 64, 123).

Its hue angle is 252°, with 32% saturation and 37% lightness. For print, the CMYK equivalent is 38% cyan, 48% magenta, 0% yellow and 52% black.

The closest named color is Galactic Compass (#48357B), a difference of 3.7 ΔE, a small difference.

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

#4C407B color codes

HEX#4C407B
RGBrgb(76, 64, 123)
RGB percentrgb(29.8%, 25.1%, 48.2%)
HSLhsl(252, 32%, 37%)
HSV / HSBhsv(252, 48%, 48%)
CMYKcmyk(38%, 48%, 0%, 52%)
CIE LABlab(30.96, 20.21, -31.92)
CIE LCHlch(30.96, 37.78, 302.34)
CIE XYZxyz(8.388, 6.633, 19.573)
Decimal4997243
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #4C407B, 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 #4C407BRatioAAAAAAA large
Sample text2.33:1FailFailFail
Sample text9.03:1PassPassPass
#4C407B as text onRatioAAAAAAA large
Sample text9.03:1PassPassPass
Sample text2.33: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 #4C407B looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #4c407b; }
.text { color: #4c407b; }
.border { border: 2px solid #4c407b; }
.transparent { background-color: rgb(76 64 123 / 50%); }
.gradient { background: linear-gradient(to right, #4c407b, #6a407b); }
Background
Text color
Border

Similar colors

Questions

What color is #4C407B?
#4C407B is a dark, desaturated violet, closest to the named color Galactic Compass. It belongs to the blue family of colors.
What is the RGB value of #4C407B?
The RGB value is 76, 64, 123: 76 red, 64 green and 123 blue on a 0 to 255 scale.
What is the complementary color of #4C407B?
The complementary color is #6F7B40, found by rotating the hue 180° on the color wheel.
Is black or white text better on #4C407B?
White text. Black text has a contrast ratio of 2.33:1 and white text 9.03:1. WCAG asks for at least 4.5:1 for normal text.