Recognised as Colour
#540F7B
- #540F7B
- Violet
- Dark
- Nearest: Indigo
#540F7B is a violet with RGB values 84, 15, 123 and HSL 278°, 78%, 27%. It is a dark colour, so white text on it reaches 12.1:1 contrast (AAA for normal text). The nearest named colour is Indigo.
Colour values
#540F7B#540F7B
HEX#540F7B
RGBrgb(84, 15, 123)
RGB (0–1)0.3294, 0.0588, 0.4824
RGB percentages32.9%, 5.9%, 48.2%
HSLhsl(278.3, 78.3%, 27.1%)
HSV / HSBhsv(278.3, 87.8%, 48.2%)
CMYK31.7%, 87.8%, 0%, 51.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,508,987
CSS custom property--colour: #540F7B;
Brightness & contrast
Relative luminance0.03657WCAG 2.x, 0 is black and 1 is white
Perceived brightness63 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.13:1
Contrast with white12.13:1WCAG normal text: AAA
Contrast with black1.73:1WCAG normal text: Fail
Greyscale equivalent#252525
Inverted#ABF084
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.13:1WCAG large text: AAA
Contrast with black, large text1.73:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#367B0F
Analogous#1E0F7B, #7B0F6C
Triadic#7B540F, #0F7B54
Split complementary#6C7B0F, #0F7B1E
Tetradic#7B1E0F, #367B0F, #0F6C7B
Tints, shades & saturation
Channel breakdown
R84
G15
B123
Red84 (32.9%)
Green15 (5.9%)
Blue123 (48.2%)
Hue278.33°
Saturation (HSL)78.26%
Lightness27.06%
Dominant channelBlue
Hex per channelR 54 · G 0F · B 7B
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