Recognised as Colour
#512E4F
- #512E4F
- Magenta
- Dark
- Nearest: Dark slateblue
#512E4F is a magenta with RGB values 81, 46, 79 and HSL 303°, 28%, 25%. It is a dark colour, so white text on it reaches 11.3:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#512E4F#512E4F
HEX#512E4F
RGBrgb(81, 46, 79)
RGB (0–1)0.3176, 0.1804, 0.3098
RGB percentages31.8%, 18%, 31%
HSLhsl(303.4, 27.6%, 24.9%)
HSV / HSBhsv(303.4, 43.2%, 31.8%)
CMYK0%, 43.2%, 2.5%, 68.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,320,271
CSS custom property--colour: #512E4F;
Brightness & contrast
Relative luminance0.04268WCAG 2.x, 0 is black and 1 is white
Perceived brightness62.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.33:1
Contrast with white11.33:1WCAG normal text: AAA
Contrast with black1.85:1WCAG normal text: Fail
Greyscale equivalent#383838
Inverted#AED1B0
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text11.33:1WCAG large text: AAA
Contrast with black, large text1.85:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#2E5130
Analogous#422E51, #512E3D
Triadic#4F512E, #2E4F51
Split complementary#3D512E, #2E5142
Tetradic#51422E, #2E5130, #2E3D51
Tints, shades & saturation
Channel breakdown
R81
G46
B79
Red81 (31.8%)
Green46 (18%)
Blue79 (31%)
Hue303.43°
Saturation (HSL)27.56%
Lightness24.9%
Dominant channelRed
Hex per channelR 51 · G 2E · B 4F
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