#4A0038 color

#4A0038 rgb(74, 0, 56)
Shades of purple

The hex color #4A0038 is a very dark, vivid magenta.

In the RGB color model it is made of 29% red, 0% green and 22% blue (74, 0, 56).

Its hue angle is 315°, with 100% saturation and 15% lightness. For print, the CMYK equivalent is 0% cyan, 100% magenta, 24% yellow and 71% black.

The closest named color is Dark Sanctuary (#3F012C), a difference of 3.1 ΔE, a small difference.

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

#4A0038 color codes

HEX#4A0038
RGBrgb(74, 0, 56)
RGB percentrgb(29%, 0%, 22%)
HSLhsl(315, 100%, 15%)
HSV / HSBhsv(315, 100%, 29%)
CMYKcmyk(0%, 100%, 24%, 71%)
CIE LABlab(14.07, 37.34, -14.03)
CIE LCHlch(14.07, 39.89, 339.41)
CIE XYZxyz(3.538, 1.742, 3.89)
Decimal4849720
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #4A0038, 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 #4A0038RatioAAAAAAA large
Sample text1.35:1FailFailFail
Sample text15.58:1PassPassPass
#4A0038 as text onRatioAAAAAAA large
Sample text15.58:1PassPassPass
Sample text1.35: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 #4A0038 looks to people with the most common types of color vision deficiency.

CSS examples

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

Similar colors

Questions

What color is #4A0038?
#4A0038 is a very dark, vivid magenta, closest to the named color Dark Sanctuary. It belongs to the purple family of colors.
What is the RGB value of #4A0038?
The RGB value is 74, 0, 56: 74 red, 0 green and 56 blue on a 0 to 255 scale.
What is the complementary color of #4A0038?
The complementary color is #004A12, found by rotating the hue 180° on the color wheel.
Is black or white text better on #4A0038?
White text. Black text has a contrast ratio of 1.35:1 and white text 15.58:1. WCAG asks for at least 4.5:1 for normal text.