#4D0040 Hex Code

Magenta Color Codes

#4D0040
Click to copy

Color Information

Name:Magenta
Luminance:0.019
Web Safe:No

Background Preview

Sample Text
#4D0040 as text color

This shows how the color appears on different backgrounds

Color Formats

HEX

#4D0040
Hexadecimal color code

RGB

rgb(77, 0, 64)
Red, Green, Blue values (0-255)

HSL

hsl(310, 100%, 15%)
Hue, Saturation, Lightness

HSV

hsv(310, 100%, 30%)
Hue, Saturation, Value

CMYK

cmyk(0%, 100%, 17%, 70%)
Cyan, Magenta, Yellow, Key (Black)

LAB

lab(15.21, 39.18, -17.88)
Lightness, A (green-red), B (blue-yellow)
Accessibility Information

Contrast Ratios

White BackgroundAAA
Aa
Ratio: 15.11:1100/100
Black Backgroundfail
Aa
Ratio: 1.39:123/100
Gray Backgroundfail
Aa
Ratio: 3.83:150/100

WCAG Guidelines

AAAContrast ratio of 7:1 or higher (Enhanced)
AAContrast ratio of 4.5:1 or higher (Standard)
FAILContrast ratio below 4.5:1 (Not recommended)
Color Harmonies

Complementary

2 colors

Colors opposite on the color wheel

Triadic

3 colors

Three colors evenly spaced on the color wheel

Analogous

5 colors

Colors adjacent on the color wheel

Monochromatic

5 colors

Different shades of the same hue

Split Complementary

3 colors

Base color plus two colors adjacent to its complement