Nerdulator> put something in

Recognised as Colour

#540C5F

  • #540C5F
  • Magenta
  • Dark
  • Nearest: Purple

#540C5F is a magenta with RGB values 84, 12, 95 and HSL 292°, 78%, 21%. It is a dark colour, so white text on it reaches 13.2:1 contrast (AAA for normal text). The nearest named colour is Purple.

Colour values

#540C5F#540C5F
HEX#540C5F
RGBrgb(84, 12, 95)
RGB (0–1)0.3294, 0.0471, 0.3725
RGB percentages32.9%, 4.7%, 37.3%
HSLhsl(292, 77.6%, 21%)
HSV / HSBhsv(292, 87.4%, 37.3%)
CMYK11.6%, 87.4%, 0%, 62.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,508,191
CSS custom property--colour: #540C5F;

Brightness & contrast

Relative luminance0.02974WCAG 2.x, 0 is black and 1 is white
Perceived brightness56.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.17:1
Contrast with white13.17:1WCAG normal text: AAA
Contrast with black1.59:1WCAG normal text: Fail
Greyscale equivalent#212121
Inverted#ABF3A0

Colour vision & accessibility

Protanopia#002B61no red cones; affects about 1% of men; ΔE 32.4 from the original
Deuteranopia#19335Dno green cones; the most common form, about 1% of men; ΔE 36.8 from the original
Tritanopia#551F37no blue cones; rare, and affects men and women equally; ΔE 32.1 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.17:1WCAG large text: AAA
Contrast with black, large text1.59:1WCAG large text: Fail

Named colours

Nearest named CSS colourPurple (#800080)ΔE 19.78, a distinctly different colour
Hue familymagenta
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#175F0C
Analogous#2B0C5F, #5F0C41
Triadic#5F540C, #0C5F54
Split complementary#405F0C, #0C5F2B
Tetradic#5F2B0C, #175F0C, #0C405F

Tints, shades & saturation

Lighter +40%#D44EE9
Lighter +30%#C921E3
Lighter +20%#A417BA
Lighter +10%#7C128C
Darker −10%#2C0632
Darker −20%#040104
Darker −30%#000000
Darker −40%#000000
More saturated +25%#5D006B
Less saturated −25%#4A1952

Channel breakdown

R84
G12
B95
Red84 (32.9%)
Green12 (4.7%)
Blue95 (37.3%)
Hue292.05°
Saturation (HSL)77.57%
Lightness20.98%
Dominant channelBlue
Hex per channelR 54 · G 0C · B 5F

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