Recognised as Colour
#542EBA
- #542EBA
- Violet
- Dark
- Nearest: Dark blue
#542EBA is a violet with RGB values 84, 46, 186 and HSL 256°, 60%, 45%. It is a dark colour, so white text on it reaches 8.5:1 contrast (AAA for normal text). The nearest named colour is Dark blue.
Colour values
#542EBA#542EBA
HEX#542EBA
RGBrgb(84, 46, 186)
RGB (0–1)0.3294, 0.1804, 0.7294
RGB percentages32.9%, 18%, 72.9%
HSLhsl(256.3, 60.3%, 45.5%)
HSV / HSBhsv(256.3, 75.3%, 72.9%)
CMYK54.8%, 75.3%, 0%, 27.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,516,986
CSS custom property--colour: #542EBA;
Brightness & contrast
Relative luminance0.07384WCAG 2.x, 0 is black and 1 is white
Perceived brightness85.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 8.48:1
Contrast with white8.48:1WCAG normal text: AAA
Contrast with black2.48:1WCAG normal text: Fail
Greyscale equivalent#404040
Inverted#ABD145
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text8.48:1WCAG large text: AAA
Contrast with black, large text2.48:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#94BA2E
Analogous#2E4EBA, #9A2EBA
Triadic#BA542E, #2EBA54
Split complementary#BA9A2E, #4EBA2E
Tetradic#BA2E4E, #94BA2E, #2EBA9A
Tints, shades & saturation
Channel breakdown
R84
G46
B186
Red84 (32.9%)
Green46 (18%)
Blue186 (72.9%)
Hue256.29°
Saturation (HSL)60.34%
Lightness45.49%
Dominant channelBlue
Hex per channelR 54 · G 2E · B BA
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