#7C258D Hex Code

Magenta Color Codes

#7C258D
Click to copy

Color Information

Name:Magenta
Luminance:0.075
Web Safe:No

Background Preview

Sample Text
#7C258D as text color

This shows how the color appears on different backgrounds

Color Formats

HEX

#7C258D
Hexadecimal color code

RGB

rgb(124, 37, 141)
Red, Green, Blue values (0-255)

HSL

hsl(290, 58%, 35%)
Hue, Saturation, Lightness

HSV

hsv(290, 74%, 55%)
Hue, Saturation, Value

CMYK

cmyk(12%, 74%, 0%, 45%)
Cyan, Magenta, Yellow, Key (Black)

LAB

lab(32.99, 51.53, -39.5)
Lightness, A (green-red), B (blue-yellow)
Accessibility Information

Contrast Ratios

White BackgroundAAA
Aa
Ratio: 8.38:1100/100
Black Backgroundfail
Aa
Ratio: 2.51:142/100
Gray Backgroundfail
Aa
Ratio: 2.12:135/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