Recognised as Colour
#512AA7
- #512AA7
- Violet
- Dark
- Nearest: Indigo
#512AA7 is a violet with RGB values 81, 42, 167 and HSL 259°, 60%, 41%. It is a dark colour, so white text on it reaches 9.4:1 contrast (AAA for normal text). The nearest named colour is Indigo.
Colour values
#512AA7#512AA7
HEX#512AA7
RGBrgb(81, 42, 167)
RGB (0–1)0.3176, 0.1647, 0.6549
RGB percentages31.8%, 16.5%, 65.5%
HSLhsl(258.7, 59.8%, 41%)
HSV / HSBhsv(258.7, 74.9%, 65.5%)
CMYK51.5%, 74.9%, 0%, 34.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,319,335
CSS custom property--colour: #512AA7;
Brightness & contrast
Relative luminance0.06195WCAG 2.x, 0 is black and 1 is white
Perceived brightness78.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 9.38:1
Contrast with white9.38:1WCAG normal text: AAA
Contrast with black2.24:1WCAG normal text: Fail
Greyscale equivalent#3B3B3B
Inverted#AED558
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text9.38:1WCAG large text: AAA
Contrast with black, large text2.24:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#80A72A
Analogous#2A41A7, #902AA7
Triadic#A7512A, #2AA751
Split complementary#A7902A, #41A72A
Tetradic#A72A41, #80A72A, #2AA790
Tints, shades & saturation
Channel breakdown
R81
G42
B167
Red81 (31.8%)
Green42 (16.5%)
Blue167 (65.5%)
Hue258.72°
Saturation (HSL)59.81%
Lightness40.98%
Dominant channelBlue
Hex per channelR 51 · G 2A · B A7
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