Nerdulator> put something in

Recognised as Colour

#540F7B

  • #540F7B
  • Violet
  • Dark
  • Nearest: Indigo

#540F7B is a violet with RGB values 84, 15, 123 and HSL 278°, 78%, 27%. It is a dark colour, so white text on it reaches 12.1:1 contrast (AAA for normal text). The nearest named colour is Indigo.

Colour values

#540F7B#540F7B
HEX#540F7B
RGBrgb(84, 15, 123)
RGB (0–1)0.3294, 0.0588, 0.4824
RGB percentages32.9%, 5.9%, 48.2%
HSLhsl(278.3, 78.3%, 27.1%)
HSV / HSBhsv(278.3, 87.8%, 48.2%)
CMYK31.7%, 87.8%, 0%, 51.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,508,987
CSS custom property--colour: #540F7B;

Brightness & contrast

Relative luminance0.03657WCAG 2.x, 0 is black and 1 is white
Perceived brightness63 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.13:1
Contrast with white12.13:1WCAG normal text: AAA
Contrast with black1.73:1WCAG normal text: Fail
Greyscale equivalent#252525
Inverted#ABF084

Colour vision & accessibility

Protanopia#00337Eno red cones; affects about 1% of men; ΔE 30.1 from the original
Deuteranopia#003679no green cones; the most common form, about 1% of men; ΔE 34.5 from the original
Tritanopia#4E2D48no blue cones; rare, and affects men and women equally; ΔE 44.6 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.13:1WCAG large text: AAA
Contrast with black, large text1.73:1WCAG large text: Fail

Named colours

Nearest named CSS colourIndigo (#4B0082)ΔE 9.09, clearly different but related
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#367B0F
Analogous#1E0F7B, #7B0F6C
Triadic#7B540F, #0F7B54
Split complementary#6C7B0F, #0F7B1E
Tetradic#7B1E0F, #367B0F, #0F6C7B

Tints, shades & saturation

Lighter +40%#BD69ED
Lighter +30%#A93CE7
Lighter +20%#921AD6
Lighter +10%#7315A8
Darker −10%#35094E
Darker −20%#160420
Darker −30%#000000
Darker −40%#000000
More saturated +25%#58008A
Less saturated −25%#4F206A

Channel breakdown

R84
G15
B123
Red84 (32.9%)
Green15 (5.9%)
Blue123 (48.2%)
Hue278.33°
Saturation (HSL)78.26%
Lightness27.06%
Dominant channelBlue
Hex per channelR 54 · G 0F · B 7B

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