Nerdulator> put something in

Recognised as Colour

#540A81

  • #540A81
  • Violet
  • Dark
  • Nearest: Indigo

#540A81 is a violet with RGB values 84, 10, 129 and HSL 277°, 86%, 27%. It is a dark colour, so white text on it reaches 12.1:1 contrast (AAA for normal text). The nearest named colour is Indigo.

Colour values

#540A81#540A81
HEX#540A81
RGBrgb(84, 10, 129)
RGB (0–1)0.3294, 0.0392, 0.5059
RGB percentages32.9%, 3.9%, 50.6%
HSLhsl(277.3, 85.6%, 27.3%)
HSV / HSBhsv(277.3, 92.2%, 50.6%)
CMYK34.9%, 92.2%, 0%, 49.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,507,713
CSS custom property--colour: #540A81;

Brightness & contrast

Relative luminance0.03687WCAG 2.x, 0 is black and 1 is white
Perceived brightness63.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.09:1
Contrast with white12.09:1WCAG normal text: AAA
Contrast with black1.74:1WCAG normal text: Fail
Greyscale equivalent#222222
Inverted#ABF57E

Colour vision & accessibility

Protanopia#003484no red cones; affects about 1% of men; ΔE 30.8 from the original
Deuteranopia#00367Fno green cones; the most common form, about 1% of men; ΔE 34.6 from the original
Tritanopia#4C2F4Ano blue cones; rare, and affects men and women equally; ΔE 49.5 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.09:1WCAG large text: AAA
Contrast with black, large text1.74:1WCAG large text: Fail

Named colours

Nearest named CSS colourIndigo (#4B0082)ΔE 4.95, a close match
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#37810A
Analogous#190A81, #810A72
Triadic#81540A, #0A8154
Split complementary#73810A, #0A8118
Tetradic#81180A, #37810A, #0A7281

Tints, shades & saturation

Lighter +40%#BD64F3
Lighter +30%#A935EF
Lighter +20%#9211E0
Lighter +10%#730EB0
Darker −10%#350652
Darker −20%#160322
Darker −30%#000000
Darker −40%#000000
More saturated +25%#56008B
Less saturated −25%#501B70

Channel breakdown

R84
G10
B129
Red84 (32.9%)
Green10 (3.9%)
Blue129 (50.6%)
Hue277.31°
Saturation (HSL)85.61%
Lightness27.25%
Dominant channelBlue
Hex per channelR 54 · G 0A · B 81

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