Nerdulator> put something in

Recognised as Colour

#5A1940

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

#5A1940 is a magenta with RGB values 90, 25, 64 and HSL 324°, 57%, 23%. It is a dark colour, so white text on it reaches 12.7:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.

Colour values

#5A1940#5A1940
HEX#5A1940
RGBrgb(90, 25, 64)
RGB (0–1)0.3529, 0.098, 0.251
RGB percentages35.3%, 9.8%, 25.1%
HSLhsl(324, 56.5%, 22.5%)
HSV / HSBhsv(324, 72.2%, 35.3%)
CMYK0%, 72.2%, 28.9%, 64.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,904,704
CSS custom property--colour: #5A1940;

Brightness & contrast

Relative luminance0.03239WCAG 2.x, 0 is black and 1 is white
Perceived brightness57.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.74:1
Contrast with white12.74:1WCAG normal text: AAA
Contrast with black1.65:1WCAG normal text: Fail
Greyscale equivalent#2A2A2A
Inverted#A5E6BF

Colour vision & accessibility

Protanopia#212B41no red cones; affects about 1% of men; ΔE 32 from the original
Deuteranopia#34373Eno green cones; the most common form, about 1% of men; ΔE 33.7 from the original
Tritanopia#61172Ano blue cones; rare, and affects men and women equally; ΔE 15.9 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.74:1WCAG large text: AAA
Contrast with black, large text1.65:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#195A33
Analogous#54195A, #5A191F
Triadic#405A19, #19405A
Split complementary#205A19, #195A54
Tetradic#5A5419, #195A33, #19205A

Tints, shades & saturation

Lighter +40%#D56AAA
Lighter +30%#CA4294
Lighter +20%#AA2F79
Lighter +10%#82245C
Darker −10%#320E24
Darker −20%#0A0307
Darker −30%#000000
Darker −40%#000000
More saturated +25%#680B43
Less saturated −25%#4C273D

Channel breakdown

R90
G25
B64
Red90 (35.3%)
Green25 (9.8%)
Blue64 (25.1%)
Hue324°
Saturation (HSL)56.52%
Lightness22.55%
Dominant channelRed
Hex per channelR 5A · G 19 · B 40

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 “5a1940” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.