Recognised as Colour
#A5158E
- #A5158E
- Magenta
- Dark
- Nearest: Dark magenta
#A5158E is a magenta with RGB values 165, 21, 142 and HSL 310°, 77%, 36%. It is a dark colour, so white text on it reaches 6.8:1 contrast (AA for normal text). The nearest named colour is Dark magenta.
Colour values
#A5158E#A5158E
HEX#A5158E
RGBrgb(165, 21, 142)
RGB (0–1)0.6471, 0.0824, 0.5569
RGB percentages64.7%, 8.2%, 55.7%
HSLhsl(309.6, 77.4%, 36.5%)
HSV / HSBhsv(309.6, 87.3%, 64.7%)
CMYK0%, 87.3%, 13.9%, 35.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer10,818,958
CSS custom property--colour: #A5158E;
Brightness & contrast
Relative luminance0.10489WCAG 2.x, 0 is black and 1 is white
Perceived brightness103.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 6.78:1
Contrast with white6.78:1WCAG normal text: AA
Contrast with black3.1:1WCAG normal text: Fail
Greyscale equivalent#3C3C3C
Inverted#5AEA71
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text6.78:1WCAG large text: AAA
Contrast with black, large text3.1:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#15A52C
Analogous#7415A5, #A51546
Triadic#8EA515, #158EA5
Split complementary#46A515, #15A574
Tetradic#A57415, #15A52C, #1546A5
Tints, shades & saturation
Channel breakdown
R165
G21
B142
Red165 (64.7%)
Green21 (8.2%)
Blue142 (55.7%)
Hue309.58°
Saturation (HSL)77.42%
Lightness36.47%
Dominant channelRed
Hex per channelR A5 · G 15 · B 8E
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