Nerdulator> put something in

Recognised as Colour

#5B175A

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

#5B175A is a magenta with RGB values 91, 23, 90 and HSL 301°, 60%, 22%. It is a dark colour, so white text on it reaches 12.2:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.

Colour values

#5B175A#5B175A
HEX#5B175A
RGBrgb(91, 23, 90)
RGB (0–1)0.3569, 0.0902, 0.3529
RGB percentages35.7%, 9%, 35.3%
HSLhsl(300.9, 59.6%, 22.4%)
HSV / HSBhsv(300.9, 74.7%, 35.7%)
CMYK0%, 74.7%, 1.1%, 64.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,969,754
CSS custom property--colour: #5B175A;

Brightness & contrast

Relative luminance0.03575WCAG 2.x, 0 is black and 1 is white
Perceived brightness60.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.24:1
Contrast with white12.24:1WCAG normal text: AAA
Contrast with black1.72:1WCAG normal text: Fail
Greyscale equivalent#2A2A2A
Inverted#A4E8A5

Colour vision & accessibility

Protanopia#0D2F5Cno red cones; affects about 1% of men; ΔE 33.5 from the original
Deuteranopia#293858no green cones; the most common form, about 1% of men; ΔE 35.4 from the original
Tritanopia#5E2136no blue cones; rare, and affects men and women equally; ΔE 27 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.24:1WCAG large text: AAA
Contrast with black, large text1.72:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#175B18
Analogous#3A175B, #5B1738
Triadic#5A5B17, #175A5B
Split complementary#385B17, #175B3A
Tetradic#5B3A17, #175B18, #17385B

Tints, shades & saturation

Lighter +40%#D866D7
Lighter +30%#CE3DCC
Lighter +20%#AC2CAB
Lighter +10%#842182
Darker −10%#320D32
Darker −20%#0A0209
Darker −30%#000000
Darker −40%#000000
More saturated +25%#690968
Less saturated −25%#4D254C

Channel breakdown

R91
G23
B90
Red91 (35.7%)
Green23 (9%)
Blue90 (35.3%)
Hue300.88°
Saturation (HSL)59.65%
Lightness22.35%
Dominant channelRed
Hex per channelR 5B · G 17 · B 5A

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