Recognised as Colour
#51115F
- #51115F
- Violet
- Dark
- Nearest: Midnight blue
#51115F is a violet with RGB values 81, 17, 95 and HSL 289°, 70%, 22%. It is a dark colour, so white text on it reaches 13.2:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#51115F#51115F
HEX#51115F
RGBrgb(81, 17, 95)
RGB (0–1)0.3176, 0.0667, 0.3725
RGB percentages31.8%, 6.7%, 37.3%
HSLhsl(289.2, 69.6%, 22%)
HSV / HSBhsv(289.2, 82.1%, 37.3%)
CMYK14.7%, 82.1%, 0%, 62.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,312,863
CSS custom property--colour: #51115F;
Brightness & contrast
Relative luminance0.02976WCAG 2.x, 0 is black and 1 is white
Perceived brightness56.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.16:1
Contrast with white13.16:1WCAG normal text: AAA
Contrast with black1.6:1WCAG normal text: Fail
Greyscale equivalent#242424
Inverted#AEEEA0
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.16:1WCAG large text: AAA
Contrast with black, large text1.6:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#1F5F11
Analogous#2A115F, #5F1146
Triadic#5F5111, #115F51
Split complementary#465F11, #115F2A
Tetradic#5F2A11, #1F5F11, #11465F
Tints, shades & saturation
Channel breakdown
R81
G17
B95
Red81 (31.8%)
Green17 (6.7%)
Blue95 (37.3%)
Hue289.23°
Saturation (HSL)69.64%
Lightness21.96%
Dominant channelBlue
Hex per channelR 51 · G 11 · B 5F
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