Recognised as Colour
#512DAF
- #512DAF
- Violet
- Dark
- Nearest: Indigo
#512DAF is a violet with RGB values 81, 45, 175 and HSL 257°, 59%, 43%. It is a dark colour, so white text on it reaches 9:1 contrast (AAA for normal text). The nearest named colour is Indigo.
Colour values
#512DAF#512DAF
HEX#512DAF
RGBrgb(81, 45, 175)
RGB (0–1)0.3176, 0.1765, 0.6863
RGB percentages31.8%, 17.6%, 68.6%
HSLhsl(256.6, 59.1%, 43.1%)
HSV / HSBhsv(256.6, 74.3%, 68.6%)
CMYK53.7%, 74.3%, 0%, 31.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,320,111
CSS custom property--colour: #512DAF;
Brightness & contrast
Relative luminance0.06721WCAG 2.x, 0 is black and 1 is white
Perceived brightness81.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 8.96:1
Contrast with white8.96:1WCAG normal text: AAA
Contrast with black2.34:1WCAG normal text: Fail
Greyscale equivalent#3E3E3E
Inverted#AED250
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text8.96:1WCAG large text: AAA
Contrast with black, large text2.34:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#8BAF2D
Analogous#2D4AAF, #922DAF
Triadic#AF512D, #2DAF51
Split complementary#AF922D, #4AAF2D
Tetradic#AF2D4A, #8BAF2D, #2DAF92
Tints, shades & saturation
Channel breakdown
R81
G45
B175
Red81 (31.8%)
Green45 (17.6%)
Blue175 (68.6%)
Hue256.62°
Saturation (HSL)59.09%
Lightness43.14%
Dominant channelBlue
Hex per channelR 51 · G 2D · B AF
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