Nerdulator> put something in

Recognised as Colour

#5A166B

  • #5A166B
  • Violet
  • Dark
  • Nearest: Rebecca purple

#5A166B is a violet with RGB values 90, 22, 107 and HSL 288°, 66%, 25%. It is a dark colour, so white text on it reaches 11.9:1 contrast (AAA for normal text). The nearest named colour is Rebecca purple.

Colour values

#5A166B#5A166B
HEX#5A166B
RGBrgb(90, 22, 107)
RGB (0–1)0.3529, 0.0863, 0.4196
RGB percentages35.3%, 8.6%, 42%
HSLhsl(288, 65.9%, 25.3%)
HSV / HSBhsv(288, 79.4%, 42%)
CMYK15.9%, 79.4%, 0%, 58%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,903,979
CSS custom property--colour: #5A166B;

Brightness & contrast

Relative luminance0.03809WCAG 2.x, 0 is black and 1 is white
Perceived brightness63.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.92:1
Contrast with white11.92:1WCAG normal text: AAA
Contrast with black1.76:1WCAG normal text: Fail
Greyscale equivalent#2B2B2B
Inverted#A5E994

Colour vision & accessibility

Protanopia#00336Dno red cones; affects about 1% of men; ΔE 33.1 from the original
Deuteranopia#1B3969no green cones; the most common form, about 1% of men; ΔE 36.1 from the original
Tritanopia#5A2840no blue cones; rare, and affects men and women equally; ΔE 34.3 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text11.92:1WCAG large text: AAA
Contrast with black, large text1.76:1WCAG large text: Fail

Named colours

Nearest named CSS colourRebecca purple (#663399)ΔE 16.22, a distinctly different colour
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#276B16
Analogous#2F166B, #6B1652
Triadic#6B5A16, #166B5A
Split complementary#526B16, #166B2F
Tetradic#6B3016, #276B16, #16526B

Tints, shades & saturation

Lighter +40%#C96CE1
Lighter +30%#BA42D8
Lighter +20%#A127C0
Lighter +10%#7E1F95
Darker −10%#360D41
Darker −20%#130516
Darker −30%#000000
Darker −40%#000000
More saturated +25%#64067B
Less saturated −25%#50265B

Channel breakdown

R90
G22
B107
Red90 (35.3%)
Green22 (8.6%)
Blue107 (42%)
Hue288°
Saturation (HSL)65.89%
Lightness25.29%
Dominant channelBlue
Hex per channelR 5A · G 16 · B 6B

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