Recognised as Colour
#512FA2
- #512FA2
- Violet
- Dark
- Nearest: Rebecca purple
#512FA2 is a violet with RGB values 81, 47, 162 and HSL 258°, 55%, 41%. It is a dark colour, so white text on it reaches 9.2:1 contrast (AAA for normal text). The nearest named colour is Rebecca purple.
Colour values
#512FA2#512FA2
HEX#512FA2
RGBrgb(81, 47, 162)
RGB (0–1)0.3176, 0.1843, 0.6353
RGB percentages31.8%, 18.4%, 63.5%
HSLhsl(257.7, 55%, 41%)
HSV / HSBhsv(257.7, 71%, 63.5%)
CMYK50%, 71%, 0%, 36.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,320,610
CSS custom property--colour: #512FA2;
Brightness & contrast
Relative luminance0.06391WCAG 2.x, 0 is black and 1 is white
Perceived brightness79.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 9.22:1
Contrast with white9.22:1WCAG normal text: AAA
Contrast with black2.28:1WCAG normal text: Fail
Greyscale equivalent#3F3F3F
Inverted#AED05D
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text9.22:1WCAG large text: AAA
Contrast with black, large text2.28:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#80A22F
Analogous#2F46A2, #8B2FA2
Triadic#A2512F, #2FA251
Split complementary#A28B2F, #46A22F
Tetradic#A22F46, #80A22F, #2FA28B
Tints, shades & saturation
Channel breakdown
R81
G47
B162
Red81 (31.8%)
Green47 (18.4%)
Blue162 (63.5%)
Hue257.74°
Saturation (HSL)55.02%
Lightness40.98%
Dominant channelBlue
Hex per channelR 51 · G 2F · B A2
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page