Nerdulator> put something in

Recognised as Colour

#540C68

  • #540C68
  • Violet
  • Dark
  • Nearest: Rebecca purple

#540C68 is a violet with RGB values 84, 12, 104 and HSL 287°, 79%, 23%. It is a dark colour, so white text on it reaches 12.9:1 contrast (AAA for normal text). The nearest named colour is Rebecca purple.

Colour values

#540C68#540C68
HEX#540C68
RGBrgb(84, 12, 104)
RGB (0–1)0.3294, 0.0471, 0.4078
RGB percentages32.9%, 4.7%, 40.8%
HSLhsl(287, 79.3%, 22.7%)
HSV / HSBhsv(287, 88.5%, 40.8%)
CMYK19.2%, 88.5%, 0%, 59.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,508,200
CSS custom property--colour: #540C68;

Brightness & contrast

Relative luminance0.03147WCAG 2.x, 0 is black and 1 is white
Perceived brightness58.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.89:1
Contrast with white12.89:1WCAG normal text: AAA
Contrast with black1.63:1WCAG normal text: Fail
Greyscale equivalent#222222
Inverted#ABF397

Colour vision & accessibility

Protanopia#002D6Ano red cones; affects about 1% of men; ΔE 31.5 from the original
Deuteranopia#0D3466no green cones; the most common form, about 1% of men; ΔE 37.2 from the original
Tritanopia#53233Cno blue cones; rare, and affects men and women equally; ΔE 36.1 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.89:1WCAG large text: AAA
Contrast with black, large text1.63:1WCAG large text: Fail

Named colours

Nearest named CSS colourRebecca purple (#663399)ΔE 16.47, a distinctly different colour
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#20680C
Analogous#260C68, #680C4E
Triadic#68540C, #0C6854
Split complementary#4E680C, #0C6826
Tetradic#68260C, #20680C, #0C4E68

Tints, shades & saturation

Lighter +40%#CB55EB
Lighter +30%#BD27E6
Lighter +20%#9E17C3
Lighter +10%#791196
Darker −10%#2F073A
Darker −20%#0A010D
Darker −30%#000000
Darker −40%#000000
More saturated +25%#5B0074
Less saturated −25%#4C1A5A

Channel breakdown

R84
G12
B104
Red84 (32.9%)
Green12 (4.7%)
Blue104 (40.8%)
Hue286.96°
Saturation (HSL)79.31%
Lightness22.75%
Dominant channelBlue
Hex per channelR 54 · G 0C · B 68

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