Nerdulator> put something in

Colour

#540CEE

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

#540CEE is a violet with RGB values 84, 12, 238 and HSL 259°, 90%, 49%. It is a dark colour, so white text on it reaches 7.9:1 contrast (AAA for normal text). The nearest named colour is Medium blue.

Colour values

#540CEE#540CEE
HEX#540CEE
RGBrgb(84, 12, 238)
RGB (0–1)0.3294, 0.0471, 0.9333
RGB percentages32.9%, 4.7%, 93.3%
HSLhsl(259.1, 90.4%, 49%)
HSV / HSBhsv(259.1, 95%, 93.3%)
CMYK64.7%, 95%, 0%, 6.7%naive device-independent conversion; real print needs an ICC profile
24-bit integer5,508,334
CSS custom property--colour: #540CEE;

Brightness & contrast

Relative luminance0.08321WCAG 2.x, 0 is black and 1 is white
Perceived brightness93 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 7.88:1
Contrast with white7.88:1WCAG normal text: AAA
Contrast with black2.66:1WCAG normal text: Fail
Greyscale equivalent#2C2C2C
Inverted#ABF311

Colour vision & accessibility

Protanopia#0058F3no red cones; affects about 1% of men; ΔE 38.5 from the original
Deuteranopia#004AEBno green cones; the most common form, about 1% of men; ΔE 31.7 from the original
Tritanopia#00628Cno blue cones; rare, and affects men and women equally; ΔE 105.3 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text7.88:1WCAG large text: AAA
Contrast with black, large text2.66:1WCAG large text: Fail

Named colours

Nearest named CSS colourMedium blue (#0000CD)ΔE 12.85, a distinctly different colour
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#A6EE0C
Analogous#0C35EE, #C50CEE
Triadic#EE540C, #0CEE54
Split complementary#EEC50C, #35EE0C
Tetradic#EE0C35, #A6EE0C, #0CEEC5

Tints, shades & saturation

Lighter +40%#DACAFC
Lighter +30%#B899FA
Lighter +20%#9669F7
Lighter +10%#7438F5
Darker −10%#430ABD
Darker −20%#32078D
Darker −30%#21055C
Darker −40%#0F022C
More saturated +25%#5000FA
Less saturated −25%#5F2BCF

Channel breakdown

R84
G12
B238
Red84 (32.9%)
Green12 (4.7%)
Blue238 (93.3%)
Hue259.12°
Saturation (HSL)90.4%
Lightness49.02%
Dominant channelBlue
Hex per channelR 54 · G 0C · B EE

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