Nerdulator> put something in

Recognised as Colour

#540F42

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

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

Colour values

#540F42#540F42
HEX#540F42
RGBrgb(84, 15, 66)
RGB (0–1)0.3294, 0.0588, 0.2588
RGB percentages32.9%, 5.9%, 25.9%
HSLhsl(315.7, 69.7%, 19.4%)
HSV / HSBhsv(315.7, 82.1%, 32.9%)
CMYK0%, 82.1%, 21.4%, 67.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,508,930
CSS custom property--colour: #540F42;

Brightness & contrast

Relative luminance0.0262WCAG 2.x, 0 is black and 1 is white
Perceived brightness52.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.78:1
Contrast with white13.78:1WCAG normal text: AAA
Contrast with black1.52:1WCAG normal text: Fail
Greyscale equivalent#212121
Inverted#ABF0BD

Colour vision & accessibility

Protanopia#152643no red cones; affects about 1% of men; ΔE 33.4 from the original
Deuteranopia#2B3140no green cones; the most common form, about 1% of men; ΔE 35.1 from the original
Tritanopia#5A1127no blue cones; rare, and affects men and women equally; ΔE 20 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.78:1WCAG large text: AAA
Contrast with black, large text1.52:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#0F5421
Analogous#440F54, #540F1F
Triadic#42540F, #0F4254
Split complementary#1F540F, #0F5444
Tetradic#54440F, #0F5421, #0F1F54

Tints, shades & saturation

Lighter +40%#E04FBA
Lighter +30%#D626A8
Lighter +20%#AB1E86
Lighter +10%#7F1764
Darker −10%#290720
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#600348
Less saturated −25%#481B3C

Channel breakdown

R84
G15
B66
Red84 (32.9%)
Green15 (5.9%)
Blue66 (25.9%)
Hue315.65°
Saturation (HSL)69.7%
Lightness19.41%
Dominant channelRed
Hex per channelR 54 · G 0F · B 42

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