Recognised as Colour
#5A0066
- #5A0066
- Magenta
- Dark
- Nearest: Purple
#5A0066 is a magenta with RGB values 90, 0, 102 and HSL 293°, 100%, 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
#5A0066#5A0066
HEX#5A0066
RGBrgb(90, 0, 102)
RGB (0–1)0.3529, 0, 0.4
RGB percentages35.3%, 0%, 40%
HSLhsl(292.9, 100%, 20%)
HSV / HSBhsv(292.9, 100%, 40%)
CMYK11.8%, 100%, 0%, 60%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,898,342
CSS custom property--colour: #5A0066;
Brightness & contrast
Relative luminance0.03133WCAG 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.91:1
Contrast with white12.91:1WCAG normal text: AAA
Contrast with black1.63:1WCAG normal text: Fail
Greyscale equivalent#1A1A1A
Inverted#A5FF99
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.91: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#0C6600
Analogous#270066, #66003F
Triadic#665A00, #00665A
Split complementary#3F6600, #006627
Tetradic#662700, #0C6600, #003F66
Tints, shades & saturation
Channel breakdown
R90
G0
B102
Red90 (35.3%)
Green0 (0%)
Blue102 (40%)
Hue292.94°
Saturation (HSL)100%
Lightness20%
Dominant channelBlue
Hex per channelR 5A · G 00 · B 66
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