Nerdulator> put something in

Recognised as Colour

#540C48

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

#540C48 is a magenta with RGB values 84, 12, 72 and HSL 310°, 75%, 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

#540C48#540C48
HEX#540C48
RGBrgb(84, 12, 72)
RGB (0–1)0.3294, 0.0471, 0.2824
RGB percentages32.9%, 4.7%, 28.2%
HSLhsl(310, 75%, 18.8%)
HSV / HSBhsv(310, 85.7%, 32.9%)
CMYK0%, 85.7%, 14.3%, 67.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,508,168
CSS custom property--colour: #540C48;

Brightness & contrast

Relative luminance0.02616WCAG 2.x, 0 is black and 1 is white
Perceived brightness52.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.79:1
Contrast with white13.79:1WCAG normal text: AAA
Contrast with black1.52:1WCAG normal text: Fail
Greyscale equivalent#202020
Inverted#ABF3B7

Colour vision & accessibility

Protanopia#0D264Ano red cones; affects about 1% of men; ΔE 34 from the original
Deuteranopia#283146no green cones; the most common form, about 1% of men; ΔE 36.2 from the original
Tritanopia#591229no blue cones; rare, and affects men and women equally; ΔE 23 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.79:1WCAG large text: AAA
Contrast with black, large text1.52:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#0C5418
Analogous#3C0C54, #540C24
Triadic#48540C, #0C4854
Split complementary#24540C, #0C543C
Tetradic#543C0C, #0C5418, #0C2454

Tints, shades & saturation

Lighter +40%#E547CA
Lighter +30%#DA1FBB
Lighter +20%#AD1994
Lighter +10%#81126E
Darker −10%#270622
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#600050
Less saturated −25%#481840

Channel breakdown

R84
G12
B72
Red84 (32.9%)
Green12 (4.7%)
Blue72 (28.2%)
Hue310°
Saturation (HSL)75%
Lightness18.82%
Dominant channelRed
Hex per channelR 54 · G 0C · B 48

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