Nerdulator> put something in

Colour

#5A40A5

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

#5A40A5 is a violet with RGB values 90, 64, 165 and HSL 255°, 44%, 45%. It is a dark colour, so white text on it reaches 7.7:1 contrast (AAA for normal text). The nearest named colour is Rebecca purple.

Colour values

#5A40A5#5A40A5
HEX#5A40A5
RGBrgb(90, 64, 165)
RGB (0–1)0.3529, 0.251, 0.6471
RGB percentages35.3%, 25.1%, 64.7%
HSLhsl(255.4, 44.1%, 44.9%)
HSV / HSBhsv(255.4, 61.2%, 64.7%)
CMYK45.5%, 61.2%, 0%, 35.3%naive device-independent conversion; real print needs an ICC profile
24-bit integer5,914,789
CSS custom property--colour: #5A40A5;

Brightness & contrast

Relative luminance0.08557WCAG 2.x, 0 is black and 1 is white
Perceived brightness89 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 7.75:1
Contrast with white7.75:1WCAG normal text: AAA
Contrast with black2.71:1WCAG normal text: Fail
Greyscale equivalent#4D4D4D
Inverted#A5BF5A

Colour vision & accessibility

Protanopia#0054A8no red cones; affects about 1% of men; ΔE 23.8 from the original
Deuteranopia#0050A3no green cones; the most common form, about 1% of men; ΔE 23.2 from the original
Tritanopia#44576Cno blue cones; rare, and affects men and women equally; ΔE 52.5 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text7.75:1WCAG large text: AAA
Contrast with black, large text2.71:1WCAG large text: Fail

Named colours

Nearest named CSS colourRebecca purple (#663399)ΔE 7.95, clearly different but related
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#8BA540
Analogous#4059A5, #8C40A5
Triadic#A55A40, #40A55A
Split complementary#A58D40, #58A540
Tetradic#A54059, #8BA540, #40A58C

Tints, shades & saturation

Lighter +40%#D0C8E9
Lighter +30%#B1A3DB
Lighter +20%#927ECD
Lighter +10%#7359BF
Darker −10%#463280
Darker −20%#32235C
Darker −30%#1E1537
Darker −40%#0A0712
More saturated +25%#4C23C2
Less saturated −25%#685D88

Channel breakdown

R90
G64
B165
Red90 (35.3%)
Green64 (25.1%)
Blue165 (64.7%)
Hue255.45°
Saturation (HSL)44.1%
Lightness44.9%
Dominant channelBlue
Hex per channelR 5A · G 40 · B A5

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