Recognised as Colour
#540DFF
- #540DFF
- Violet
- Dark
- Nearest: Blue
#540DFF is a violet with RGB values 84, 13, 255 and HSL 258°, 100%, 53%. It is a dark colour, so white text on it reaches 7.3:1 contrast (AAA for normal text). The nearest named colour is Blue.
Colour values
#540DFF#540DFF
HEX#540DFF
RGBrgb(84, 13, 255)
RGB (0–1)0.3294, 0.051, 1
RGB percentages32.9%, 5.1%, 100%
HSLhsl(257.6, 100%, 52.5%)
HSV / HSBhsv(257.6, 94.9%, 100%)
CMYK67.1%, 94.9%, 0%, 0%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,508,607
CSS custom property--colour: #540DFF;
Brightness & contrast
Relative luminance0.09393WCAG 2.x, 0 is black and 1 is white
Perceived brightness98.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 7.3:1
Contrast with white7.3:1WCAG normal text: AAA
Contrast with black2.88:1WCAG normal text: Fail
Greyscale equivalent#2E2E2E
Inverted#ABF200
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text7.3:1WCAG large text: AAA
Contrast with black, large text2.88:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#B8FF0D
Analogous#0D3FFF, #CD0DFF
Triadic#FF540D, #0DFF54
Split complementary#FFCD0D, #3FFF0D
Tetradic#FF0D3F, #B8FF0D, #0DFFCD
Tints, shades & saturation
Channel breakdown
R84
G13
B255
Red84 (32.9%)
Green13 (5.1%)
Blue255 (100%)
Hue257.6°
Saturation (HSL)100%
Lightness52.55%
Dominant channelBlue
Hex per channelR 54 · G 0D · B FF
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page