Recognised as Colour
#A540B4
- #A540B4
- Magenta
- Dark
- Nearest: Medium orchid
#A540B4 is a magenta with RGB values 165, 64, 180 and HSL 292°, 48%, 48%. It is a dark colour, so white text on it reaches 5.3:1 contrast (AA for normal text). The nearest named colour is Medium orchid.
Colour values
#A540B4#A540B4
HEX#A540B4
RGBrgb(165, 64, 180)
RGB (0–1)0.6471, 0.251, 0.7059
RGB percentages64.7%, 25.1%, 70.6%
HSLhsl(292.2, 47.5%, 47.8%)
HSV / HSBhsv(292.2, 64.4%, 70.6%)
CMYK8.3%, 64.4%, 0%, 29.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer10,830,004
CSS custom property--colour: #A540B4;
Brightness & contrast
Relative luminance0.14961WCAG 2.x, 0 is black and 1 is white
Perceived brightness119.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 5.26:1
Contrast with white5.26:1WCAG normal text: AA
Contrast with black3.99:1WCAG normal text: Fail
Greyscale equivalent#5E5E5E
Inverted#5ABF4B
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text5.26:1WCAG large text: AAA
Contrast with black, large text3.99:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#4FB440
Analogous#6B40B4, #B44089
Triadic#B4A540, #40B4A5
Split complementary#89B440, #40B46B
Tetradic#B46B40, #4FB440, #4089B4
Tints, shades & saturation
Channel breakdown
R165
G64
B180
Red165 (64.7%)
Green64 (25.1%)
Blue180 (70.6%)
Hue292.24°
Saturation (HSL)47.54%
Lightness47.84%
Dominant channelBlue
Hex per channelR A5 · G 40 · B B4
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