Recognised as Colour
#511FAC
- #511FAC
- Violet
- Dark
- Nearest: Dark blue
#511FAC is a violet with RGB values 81, 31, 172 and HSL 261°, 69%, 40%. It is a dark colour, so white text on it reaches 9.8:1 contrast (AAA for normal text). The nearest named colour is Dark blue.
Colour values
#511FAC#511FAC
HEX#511FAC
RGBrgb(81, 31, 172)
RGB (0–1)0.3176, 0.1216, 0.6745
RGB percentages31.8%, 12.2%, 67.5%
HSLhsl(261.3, 69.5%, 39.8%)
HSV / HSBhsv(261.3, 82%, 67.5%)
CMYK52.9%, 82%, 0%, 32.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,316,524
CSS custom property--colour: #511FAC;
Brightness & contrast
Relative luminance0.05708WCAG 2.x, 0 is black and 1 is white
Perceived brightness76.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 9.81:1
Contrast with white9.81:1WCAG normal text: AAA
Contrast with black2.14:1WCAG normal text: Fail
Greyscale equivalent#343434
Inverted#AEE053
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text9.81:1WCAG large text: AAA
Contrast with black, large text2.14:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#7AAC1F
Analogous#1F33AC, #981FAC
Triadic#AC511F, #1FAC51
Split complementary#AC981F, #33AC1F
Tetradic#AC1F33, #7AAC1F, #1FAC98
Tints, shades & saturation
Channel breakdown
R81
G31
B172
Red81 (31.8%)
Green31 (12.2%)
Blue172 (67.5%)
Hue261.28°
Saturation (HSL)69.46%
Lightness39.8%
Dominant channelBlue
Hex per channelR 51 · G 1F · B AC
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