Recognised as Colour
#512A56
- #512A56
- Magenta
- Dark
- Nearest: Dark slateblue
#512A56 is a magenta with RGB values 81, 42, 86 and HSL 293°, 34%, 25%. It is a dark colour, so white text on it reaches 11.6:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#512A56#512A56
HEX#512A56
RGBrgb(81, 42, 86)
RGB (0–1)0.3176, 0.1647, 0.3373
RGB percentages31.8%, 16.5%, 33.7%
HSLhsl(293.2, 34.4%, 25.1%)
HSV / HSBhsv(293.2, 51.2%, 33.7%)
CMYK5.8%, 51.2%, 0%, 66.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,319,254
CSS custom property--colour: #512A56;
Brightness & contrast
Relative luminance0.04077WCAG 2.x, 0 is black and 1 is white
Perceived brightness62 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.57:1
Contrast with white11.57:1WCAG normal text: AAA
Contrast with black1.82:1WCAG normal text: Fail
Greyscale equivalent#353535
Inverted#AED5A9
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text11.57:1WCAG large text: AAA
Contrast with black, large text1.82:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#2F562A
Analogous#3B2A56, #562A45
Triadic#56512A, #2A5651
Split complementary#45562A, #2A563B
Tetradic#563B2A, #2F562A, #2A4556
Tints, shades & saturation
Channel breakdown
R81
G42
B86
Red81 (31.8%)
Green42 (16.5%)
Blue86 (33.7%)
Hue293.18°
Saturation (HSL)34.38%
Lightness25.1%
Dominant channelBlue
Hex per channelR 51 · G 2A · B 56
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page