Recognised as Colour
#5B0164
- #5B0164
- Magenta
- Dark
- Nearest: Purple
#5B0164 is a magenta with RGB values 91, 1, 100 and HSL 295°, 98%, 20%. It is a dark colour, so white text on it reaches 12.9:1 contrast (AAA for normal text). The nearest named colour is Purple.
Colour values
#5B0164#5B0164
HEX#5B0164
RGBrgb(91, 1, 100)
RGB (0–1)0.3569, 0.0039, 0.3922
RGB percentages35.7%, 0.4%, 39.2%
HSLhsl(294.5, 98%, 19.8%)
HSV / HSBhsv(294.5, 99%, 39.2%)
CMYK9%, 99%, 0%, 60.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,964,132
CSS custom property--colour: #5B0164;
Brightness & contrast
Relative luminance0.03166WCAG 2.x, 0 is black and 1 is white
Perceived brightness60.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.86:1
Contrast with white12.86:1WCAG normal text: AAA
Contrast with black1.63:1WCAG normal text: Fail
Greyscale equivalent#1B1B1B
Inverted#A4FE9B
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.86:1WCAG large text: AAA
Contrast with black, large text1.63:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#0A6401
Analogous#290164, #64013C
Triadic#645B01, #01645B
Split complementary#3B6401, #01642A
Tetradic#642A01, #0A6401, #013C64
Tints, shades & saturation
Channel breakdown
R91
G1
B100
Red91 (35.7%)
Green1 (0.4%)
Blue100 (39.2%)
Hue294.55°
Saturation (HSL)98.02%
Lightness19.8%
Dominant channelBlue
Hex per channelR 5B · G 01 · B 64
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