#4D0074 color
The hex color #4D0074 is a dark, vivid violet.
In the RGB color model it is made of 30.2% red, 0% green and 45.5% blue (77, 0, 116).
Its hue angle is 280°, with 100% saturation and 23% lightness. For print, the CMYK equivalent is 34% cyan, 100% magenta, 0% yellow and 55% black.
The closest named color is Indigo (#4B0082), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.4:1).
#4D0074 color codes
| HEX | #4D0074 | |
|---|---|---|
| RGB | rgb(77, 0, 116) | |
| RGB percent | rgb(30.2%, 0%, 45.5%) | |
| HSL | hsl(280, 100%, 23%) | |
| HSV / HSB | hsv(280, 100%, 45%) | |
| CMYK | cmyk(34%, 100%, 0%, 55%) | |
| CIE LAB | lab(19.39, 48.88, -46.13) | |
| CIE LCH | lch(19.39, 67.21, 316.66) | |
| CIE XYZ | xyz(6.212, 2.839, 16.74) | |
| Decimal | 5046388 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4D0074, 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 #4D0074 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.57:1 | Fail | Fail | Fail |
| Sample text | 13.4:1 | Pass | Pass | Pass |
| #4D0074 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.4:1 | Pass | Pass | Pass |
| Sample text | 1.57:1 | Fail | Fail | Fail |
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 #4D0074 looks to people with the most common types of color vision deficiency.
#002d77Protanopia
no red cones#003072Deuteranopia
no green cones#462741Tritanopia
no blue cones#2f2f2fAchromatopsia
no color vision
CSS examples
.background { background-color: #4d0074; }
.text { color: #4d0074; }
.border { border: 2px solid #4d0074; }
.transparent { background-color: rgb(77 0 116 / 50%); }
.gradient { background: linear-gradient(to right, #4d0074, #740061); }
Similar colors
#4b0082Indigo#4b0183Indigo Static#540d6eVelvet Vortex#330077Galactic Federation#4b1e87Occult#661188Extraviolet#5b1e8bIntergalactic Settlement#340059Cotinga Purple
Questions
- What color is #4D0074?
- #4D0074 is a dark, vivid violet, closest to the named color Indigo. It belongs to the purple family of colors.
- What is the RGB value of #4D0074?
- The RGB value is 77, 0, 116: 77 red, 0 green and 116 blue on a 0 to 255 scale.
- What is the complementary color of #4D0074?
- The complementary color is #277400, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4D0074?
- White text. Black text has a contrast ratio of 1.57:1 and white text 13.4:1. WCAG asks for at least 4.5:1 for normal text.