Nerdulator> put something in

Recognised as Colour

#540F51

  • #540F51
  • Magenta
  • Dark
  • Nearest: Dark slateblue

#540F51 is a magenta with RGB values 84, 15, 81 and HSL 303°, 70%, 19%. It is a dark colour, so white text on it reaches 13.4:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.

Colour values

#540F51#540F51
HEX#540F51
RGBrgb(84, 15, 81)
RGB (0–1)0.3294, 0.0588, 0.3176
RGB percentages32.9%, 5.9%, 31.8%
HSLhsl(302.6, 69.7%, 19.4%)
HSV / HSBhsv(302.6, 82.1%, 32.9%)
CMYK0%, 82.1%, 3.6%, 67.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,508,945
CSS custom property--colour: #540F51;

Brightness & contrast

Relative luminance0.02821WCAG 2.x, 0 is black and 1 is white
Perceived brightness54.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.43:1
Contrast with white13.43:1WCAG normal text: AAA
Contrast with black1.56:1WCAG normal text: Fail
Greyscale equivalent#222222
Inverted#ABF0AE

Colour vision & accessibility

Protanopia#062953no red cones; affects about 1% of men; ΔE 33.4 from the original
Deuteranopia#24324Fno green cones; the most common form, about 1% of men; ΔE 35.5 from the original
Tritanopia#57192Fno blue cones; rare, and affects men and women equally; ΔE 25.7 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.43:1WCAG large text: AAA
Contrast with black, large text1.56:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#0F5412
Analogous#350F54, #540F2E
Triadic#51540F, #0F5154
Split complementary#2E540F, #0F5435
Tetradic#54350F, #0F5412, #0F2E54

Tints, shades & saturation

Lighter +40%#E04FD9
Lighter +30%#D626CE
Lighter +20%#AB1EA4
Lighter +10%#7F177B
Darker −10%#290727
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#60035C
Less saturated −25%#481B46

Channel breakdown

R84
G15
B81
Red84 (32.9%)
Green15 (5.9%)
Blue81 (31.8%)
Hue302.61°
Saturation (HSL)69.7%
Lightness19.41%
Dominant channelRed
Hex per channelR 54 · G 0F · B 51

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