Recognised as Colour
#5A0462
- #5A0462
- Magenta
- Dark
- Nearest: Purple
#5A0462 is a magenta with RGB values 90, 4, 98 and HSL 295°, 92%, 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
#5A0462#5A0462
HEX#5A0462
RGBrgb(90, 4, 98)
RGB (0–1)0.3529, 0.0157, 0.3843
RGB percentages35.3%, 1.6%, 38.4%
HSLhsl(294.9, 92.2%, 20%)
HSV / HSBhsv(294.9, 95.9%, 38.4%)
CMYK8.2%, 95.9%, 0%, 61.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,899,362
CSS custom property--colour: #5A0462;
Brightness & contrast
Relative luminance0.03142WCAG 2.x, 0 is black and 1 is white
Perceived brightness59.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.9:1
Contrast with white12.9:1WCAG normal text: AAA
Contrast with black1.63:1WCAG normal text: Fail
Greyscale equivalent#1D1D1D
Inverted#A5FB9D
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.9: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#0C6204
Analogous#2B0462, #62043B
Triadic#625A04, #04625A
Split complementary#3B6204, #04622B
Tetradic#622B04, #0C6204, #043B62
Tints, shades & saturation
Channel breakdown
R90
G4
B98
Red90 (35.3%)
Green4 (1.6%)
Blue98 (38.4%)
Hue294.89°
Saturation (HSL)92.16%
Lightness20%
Dominant channelBlue
Hex per channelR 5A · G 04 · B 62
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