Nerdulator> put something in

Recognised as Colour

#540FD8

  • #540FD8
  • Violet
  • Dark
  • Nearest: Medium blue

#540FD8 is a violet with RGB values 84, 15, 216 and HSL 261°, 87%, 45%. It is a dark colour, so white text on it reaches 8.6:1 contrast (AAA for normal text). The nearest named colour is Medium blue.

Colour values

#540FD8#540FD8
HEX#540FD8
RGBrgb(84, 15, 216)
RGB (0–1)0.3294, 0.0588, 0.8471
RGB percentages32.9%, 5.9%, 84.7%
HSLhsl(260.6, 87%, 45.3%)
HSV / HSBhsv(260.6, 93.1%, 84.7%)
CMYK61.1%, 93.1%, 0%, 15.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,509,080
CSS custom property--colour: #540FD8;

Brightness & contrast

Relative luminance0.07184WCAG 2.x, 0 is black and 1 is white
Perceived brightness87 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 8.62:1
Contrast with white8.62:1WCAG normal text: AAA
Contrast with black2.44:1WCAG normal text: Fail
Greyscale equivalent#2C2C2C
Inverted#ABF027

Colour vision & accessibility

Protanopia#0051DDno red cones; affects about 1% of men; ΔE 35.9 from the original
Deuteranopia#0046D5no green cones; the most common form, about 1% of men; ΔE 31.2 from the original
Tritanopia#00597Fno blue cones; rare, and affects men and women equally; ΔE 96.7 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text8.62:1WCAG large text: AAA
Contrast with black, large text2.44:1WCAG large text: Fail

Named colours

Nearest named CSS colourMedium blue (#0000CD)ΔE 9.58, clearly different but related
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#93D80F
Analogous#0F2FD8, #B80FD8
Triadic#D8540F, #0FD854
Split complementary#D8B80F, #2FD80F
Tetradic#D80F2F, #93D80F, #0FD8B8

Tints, shades & saturation

Lighter +40%#CFB9FA
Lighter +30%#AF89F7
Lighter +20%#8E59F4
Lighter +10%#6E2AF0
Darker −10%#410CA8
Darker −20%#2F0879
Darker −30%#1C0549
Darker −40%#0A0219
More saturated +25%#4F00E7
Less saturated −25%#5D2CBB

Channel breakdown

R84
G15
B216
Red84 (32.9%)
Green15 (5.9%)
Blue216 (84.7%)
Hue260.6°
Saturation (HSL)87.01%
Lightness45.29%
Dominant channelBlue
Hex per channelR 54 · G 0F · B D8

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