#512A6F Hex Code
Blue magenta Color Codes
#512A6F
Click to copy
Color Information
Name:Blue magenta
Luminance:0.046
Web Safe:No
Background Preview
Sample Text
#512A6F as text color
This shows how the color appears on different backgrounds
Color Formats
HEX
#512A6F
Hexadecimal color code
RGB
rgb(81, 42, 111)
Red, Green, Blue values (0-255)
HSL
hsl(274, 45%, 30%)
Hue, Saturation, Lightness
HSV
hsv(274, 62%, 44%)
Hue, Saturation, Value
CMYK
cmyk(27%, 62%, 0%, 56%)
Cyan, Magenta, Yellow, Key (Black)
LAB
lab(25.42, 31.94, -33.11)
Lightness, A (green-red), B (blue-yellow)
Accessibility Information
Contrast Ratios
White BackgroundAAA
Aa
Ratio: 10.99:1100/100
Black Backgroundfail
Aa
Ratio: 1.91:132/100
Gray Backgroundfail
Aa
Ratio: 2.78:146/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