Nerdulator> put something in

Colour

#540BCB

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

#540BCB is a violet with RGB values 84, 11, 203 and HSL 263°, 90%, 42%. It is a dark colour, so white text on it reaches 9.2:1 contrast (AAA for normal text). The nearest named colour is Medium blue.

Colour values

#540BCB#540BCB
HEX#540BCB
RGBrgb(84, 11, 203)
RGB (0–1)0.3294, 0.0431, 0.7961
RGB percentages32.9%, 4.3%, 79.6%
HSLhsl(262.8, 89.7%, 42%)
HSV / HSBhsv(262.8, 94.6%, 79.6%)
CMYK58.6%, 94.6%, 0%, 20.4%naive device-independent conversion; real print needs an ICC profile
24-bit integer5,508,043
CSS custom property--colour: #540BCB;

Brightness & contrast

Relative luminance0.06436WCAG 2.x, 0 is black and 1 is white
Perceived brightness82.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 9.18:1
Contrast with white9.18:1WCAG normal text: AAA
Contrast with black2.29:1WCAG normal text: Fail
Greyscale equivalent#282828
Inverted#ABF434

Colour vision & accessibility

Protanopia#004CD0no red cones; affects about 1% of men; ΔE 34.9 from the original
Deuteranopia#0043C8no green cones; the most common form, about 1% of men; ΔE 31.7 from the original
Tritanopia#0E5277no blue cones; rare, and affects men and women equally; ΔE 90.9 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text9.18:1WCAG large text: AAA
Contrast with black, large text2.29:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#82CB0B
Analogous#0B22CB, #B40BCB
Triadic#CB540B, #0BCB54
Split complementary#CBB40B, #22CB0B
Tetradic#CB0B22, #82CB0B, #0BCBB4

Tints, shades & saturation

Lighter +40%#C7A8FA
Lighter +30%#A877F8
Lighter +20%#8947F5
Lighter +10%#6A17F2
Darker −10%#40089B
Darker −20%#2C066A
Darker −30%#18033A
Darker −40%#040109
More saturated +25%#5100D6
Less saturated −25%#5A26B0

Channel breakdown

R84
G11
B203
Red84 (32.9%)
Green11 (4.3%)
Blue203 (79.6%)
Hue262.81°
Saturation (HSL)89.72%
Lightness41.96%
Dominant channelBlue
Hex per channelR 54 · G 0B · B CB

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