Recognised as Colour
#540DAD
- #540DAD
- Violet
- Dark
- Nearest: Dark blue
#540DAD is a violet with RGB values 84, 13, 173 and HSL 267°, 86%, 36%. It is a dark colour, so white text on it reaches 10.3:1 contrast (AAA for normal text). The nearest named colour is Dark blue.
Colour values
#540DAD#540DAD
HEX#540DAD
RGBrgb(84, 13, 173)
RGB (0–1)0.3294, 0.051, 0.6784
RGB percentages32.9%, 5.1%, 67.8%
HSLhsl(266.6, 86%, 36.5%)
HSV / HSBhsv(266.6, 92.5%, 67.8%)
CMYK51.4%, 92.5%, 0%, 32.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,508,525
CSS custom property--colour: #540DAD;
Brightness & contrast
Relative luminance0.0519WCAG 2.x, 0 is black and 1 is white
Perceived brightness75 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 10.3:1
Contrast with white10.3:1WCAG normal text: AAA
Contrast with black2.04:1WCAG normal text: Fail
Greyscale equivalent#282828
Inverted#ABF252
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text10.3:1WCAG large text: AAA
Contrast with black, large text2.04:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#66AD0D
Analogous#0D16AD, #A40DAD
Triadic#AD540D, #0DAD54
Split complementary#ADA40D, #16AD0D
Tetradic#AD0D16, #66AD0D, #0DADA4
Tints, shades & saturation
Channel breakdown
R84
G13
B173
Red84 (32.9%)
Green13 (5.1%)
Blue173 (67.8%)
Hue266.63°
Saturation (HSL)86.02%
Lightness36.47%
Dominant channelBlue
Hex per channelR 54 · G 0D · B AD
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