Recognised as Colour
#512A71
- #512A71
- Violet
- Dark
- Nearest: Dark slateblue
#512A71 is a violet with RGB values 81, 42, 113 and HSL 273°, 46%, 30%. It is a dark colour, so white text on it reaches 10.9:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#512A71#512A71
HEX#512A71
RGBrgb(81, 42, 113)
RGB (0–1)0.3176, 0.1647, 0.4431
RGB percentages31.8%, 16.5%, 44.3%
HSLhsl(273, 45.8%, 30.4%)
HSV / HSBhsv(273, 62.8%, 44.3%)
CMYK28.3%, 62.8%, 0%, 55.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,319,281
CSS custom property--colour: #512A71;
Brightness & contrast
Relative luminance0.04598WCAG 2.x, 0 is black and 1 is white
Perceived brightness66.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 10.94:1
Contrast with white10.94:1WCAG normal text: AAA
Contrast with black1.92:1WCAG normal text: Fail
Greyscale equivalent#373737
Inverted#AED58E
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text10.94:1WCAG large text: AAA
Contrast with black, large text1.92:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#4A712A
Analogous#2D2A71, #712A6E
Triadic#71512A, #2A7151
Split complementary#6E712A, #2A712D
Tetradic#712D2A, #4A712A, #2A6E71
Tints, shades & saturation
Channel breakdown
R81
G42
B113
Red81 (31.8%)
Green42 (16.5%)
Blue113 (44.3%)
Hue272.96°
Saturation (HSL)45.81%
Lightness30.39%
Dominant channelBlue
Hex per channelR 51 · G 2A · B 71
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