Recognised as Colour
#5A2245
- #5A2245
- Magenta
- Dark
- Nearest: Dark slateblue
#5A2245 is a magenta with RGB values 90, 34, 69 and HSL 323°, 45%, 24%. It is a dark colour, so white text on it reaches 12:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#5A2245#5A2245
HEX#5A2245
RGBrgb(90, 34, 69)
RGB (0–1)0.3529, 0.1333, 0.2706
RGB percentages35.3%, 13.3%, 27.1%
HSLhsl(322.5, 45.2%, 24.3%)
HSV / HSBhsv(322.5, 62.2%, 35.3%)
CMYK0%, 62.2%, 23.3%, 64.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,907,013
CSS custom property--colour: #5A2245;
Brightness & contrast
Relative luminance0.03747WCAG 2.x, 0 is black and 1 is white
Perceived brightness60.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12:1
Contrast with white12:1WCAG normal text: AAA
Contrast with black1.75:1WCAG normal text: Fail
Greyscale equivalent#303030
Inverted#A5DDBA
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text12:1WCAG large text: AAA
Contrast with black, large text1.75:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#225A37
Analogous#53225A, #5A2229
Triadic#455A22, #22455A
Split complementary#295A22, #225A53
Tetradic#5A5322, #225A37, #22295A
Tints, shades & saturation
Channel breakdown
R90
G34
B69
Red90 (35.3%)
Green34 (13.3%)
Blue69 (27.1%)
Hue322.5°
Saturation (HSL)45.16%
Lightness24.31%
Dominant channelRed
Hex per channelR 5A · G 22 · B 45
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page