Recognised as Colour
#512A5E
- #512A5E
- Violet
- Dark
- Nearest: Dark slateblue
#512A5E is a violet with RGB values 81, 42, 94 and HSL 285°, 38%, 27%. It is a dark colour, so white text on it reaches 11.4:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#512A5E#512A5E
HEX#512A5E
RGBrgb(81, 42, 94)
RGB (0–1)0.3176, 0.1647, 0.3686
RGB percentages31.8%, 16.5%, 36.9%
HSLhsl(285, 38.2%, 26.7%)
HSV / HSBhsv(285, 55.3%, 36.9%)
CMYK13.8%, 55.3%, 0%, 63.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,319,262
CSS custom property--colour: #512A5E;
Brightness & contrast
Relative luminance0.04213WCAG 2.x, 0 is black and 1 is white
Perceived brightness63.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.4:1
Contrast with white11.4:1WCAG normal text: AAA
Contrast with black1.84:1WCAG normal text: Fail
Greyscale equivalent#363636
Inverted#AED5A1
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text11.4:1WCAG large text: AAA
Contrast with black, large text1.84:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#375E2A
Analogous#372A5E, #5E2A51
Triadic#5E512A, #2A5E51
Split complementary#515E2A, #2A5E37
Tetradic#5E372A, #375E2A, #2A515E
Tints, shades & saturation
Channel breakdown
R81
G42
B94
Red81 (31.8%)
Green42 (16.5%)
Blue94 (36.9%)
Hue285°
Saturation (HSL)38.24%
Lightness26.67%
Dominant channelBlue
Hex per channelR 51 · G 2A · B 5E
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