Recognised as Colour
#511BB3
- #511BB3
- Violet
- Dark
- Nearest: Dark blue
#511BB3 is a violet with RGB values 81, 27, 179 and HSL 261°, 74%, 40%. It is a dark colour, so white text on it reaches 9.7:1 contrast (AAA for normal text). The nearest named colour is Dark blue.
Colour values
#511BB3#511BB3
HEX#511BB3
RGBrgb(81, 27, 179)
RGB (0–1)0.3176, 0.1059, 0.702
RGB percentages31.8%, 10.6%, 70.2%
HSLhsl(261.3, 73.8%, 40.4%)
HSV / HSBhsv(261.3, 84.9%, 70.2%)
CMYK54.7%, 84.9%, 0%, 29.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,315,507
CSS custom property--colour: #511BB3;
Brightness & contrast
Relative luminance0.05788WCAG 2.x, 0 is black and 1 is white
Perceived brightness77.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 9.73:1
Contrast with white9.73:1WCAG normal text: AAA
Contrast with black2.16:1WCAG normal text: Fail
Greyscale equivalent#313131
Inverted#AEE44C
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text9.73:1WCAG large text: AAA
Contrast with black, large text2.16:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#7DB31B
Analogous#1B31B3, #9D1BB3
Triadic#B3511B, #1BB351
Split complementary#B39D1B, #31B31B
Tetradic#B31B31, #7DB31B, #1BB39D
Tints, shades & saturation
Channel breakdown
R81
G27
B179
Red81 (31.8%)
Green27 (10.6%)
Blue179 (70.2%)
Hue261.32°
Saturation (HSL)73.79%
Lightness40.39%
Dominant channelBlue
Hex per channelR 51 · G 1B · B B3
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