Recognised as Colour
#391F78
- #391F78
- Violet
- Dark
- Nearest: Midnight blue
#391F78 is a violet with RGB values 57, 31, 120 and HSL 258°, 59%, 30%. It is a dark colour, so white text on it reaches 12.8:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#391F78#391F78
HEX#391F78
RGBrgb(57, 31, 120)
RGB (0–1)0.2235, 0.1216, 0.4706
RGB percentages22.4%, 12.2%, 47.1%
HSLhsl(257.5, 58.9%, 29.6%)
HSV / HSBhsv(257.5, 74.2%, 47.1%)
CMYK52.5%, 74.2%, 0%, 52.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,743,608
CSS custom property--colour: #391F78;
Brightness & contrast
Relative luminance0.03206WCAG 2.x, 0 is black and 1 is white
Perceived brightness56.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.8:1
Contrast with white12.8:1WCAG normal text: AAA
Contrast with black1.64:1WCAG normal text: Fail
Greyscale equivalent#2B2B2B
Inverted#C6E087
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.8:1WCAG large text: AAA
Contrast with black, large text1.64:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#5E781F
Analogous#1F3178, #661F78
Triadic#78391F, #1F7839
Split complementary#78661F, #31781F
Tetradic#781F31, #5E781F, #1F7866
Tints, shades & saturation
Channel breakdown
R57
G31
B120
Red57 (22.4%)
Green31 (12.2%)
Blue120 (47.1%)
Hue257.53°
Saturation (HSL)58.94%
Lightness29.61%
Dominant channelBlue
Hex per channelR 39 · G 1F · B 78
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