Nerdulator> put something in

Recognised as Colour

#5A174C

  • #5A174C
  • Magenta
  • Dark
  • Nearest: Dark slateblue

#5A174C is a magenta with RGB values 90, 23, 76 and HSL 313°, 59%, 22%. It is a dark colour, so white text on it reaches 12.6:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.

Colour values

#5A174C#5A174C
HEX#5A174C
RGBrgb(90, 23, 76)
RGB (0–1)0.3529, 0.0902, 0.298
RGB percentages35.3%, 9%, 29.8%
HSLhsl(312.5, 59.3%, 22.2%)
HSV / HSBhsv(312.5, 74.4%, 35.3%)
CMYK0%, 74.4%, 15.6%, 64.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,904,204
CSS custom property--colour: #5A174C;

Brightness & contrast

Relative luminance0.03308WCAG 2.x, 0 is black and 1 is white
Perceived brightness58.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.64:1
Contrast with white12.64:1WCAG normal text: AAA
Contrast with black1.66:1WCAG normal text: Fail
Greyscale equivalent#292929
Inverted#A5E8B3

Colour vision & accessibility

Protanopia#192C4Eno red cones; affects about 1% of men; ΔE 32.7 from the original
Deuteranopia#2F374Ano green cones; the most common form, about 1% of men; ΔE 34.9 from the original
Tritanopia#5F1A2Fno blue cones; rare, and affects men and women equally; ΔE 20.8 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.64:1WCAG large text: AAA
Contrast with black, large text1.66:1WCAG large text: Fail

Named colours

Nearest named CSS colourDark slateblue (#483D8B)ΔE 29.26, a distinctly different colour
Hue familymagenta
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#175A25
Analogous#47175A, #5A172A
Triadic#4C5A17, #174C5A
Split complementary#2A5A17, #175A47
Tetradic#5A4717, #175A25, #172A5A

Tints, shades & saturation

Lighter +40%#D865C0
Lighter +30%#CD3DAF
Lighter +20%#AB2C91
Lighter +10%#83216E
Darker −10%#310D2A
Darker −20%#090207
Darker −30%#000000
Darker −40%#000000
More saturated +25%#680954
Less saturated −25%#4C2544

Channel breakdown

R90
G23
B76
Red90 (35.3%)
Green23 (9%)
Blue76 (29.8%)
Hue312.54°
Saturation (HSL)59.29%
Lightness22.16%
Dominant channelRed
Hex per channelR 5A · G 17 · B 4C

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

Every value on this page was computed from “5a174c” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.