Recognised as Colour
#511BAF
- #511BAF
- Violet
- Dark
- Nearest: Dark blue
#511BAF is a violet with RGB values 81, 27, 175 and HSL 262°, 73%, 40%. It is a dark colour, so white text on it reaches 9.9:1 contrast (AAA for normal text). The nearest named colour is Dark blue.
Colour values
#511BAF#511BAF
HEX#511BAF
RGBrgb(81, 27, 175)
RGB (0–1)0.3176, 0.1059, 0.6863
RGB percentages31.8%, 10.6%, 68.6%
HSLhsl(261.9, 73.3%, 39.6%)
HSV / HSBhsv(261.9, 84.6%, 68.6%)
CMYK53.7%, 84.6%, 0%, 31.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,315,503
CSS custom property--colour: #511BAF;
Brightness & contrast
Relative luminance0.05628WCAG 2.x, 0 is black and 1 is white
Perceived brightness76.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 9.88:1
Contrast with white9.88:1WCAG normal text: AAA
Contrast with black2.13:1WCAG normal text: Fail
Greyscale equivalent#313131
Inverted#AEE450
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text9.88:1WCAG large text: AAA
Contrast with black, large text2.13:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#79AF1B
Analogous#1B2FAF, #9B1BAF
Triadic#AF511B, #1BAF51
Split complementary#AF9B1B, #2FAF1B
Tetradic#AF1B2F, #79AF1B, #1BAF9B
Tints, shades & saturation
Channel breakdown
R81
G27
B175
Red81 (31.8%)
Green27 (10.6%)
Blue175 (68.6%)
Hue261.89°
Saturation (HSL)73.27%
Lightness39.61%
Dominant channelBlue
Hex per channelR 51 · G 1B · B AF
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