Recognised as Colour
#2F1179
- #2F1179
- Violet
- Dark
- Nearest: Midnight blue
#2F1179 is a violet with RGB values 47, 17, 121 and HSL 257°, 75%, 27%. It is a dark colour, so white text on it reaches 14.2:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#2F1179#2F1179
HEX#2F1179
RGBrgb(47, 17, 121)
RGB (0–1)0.1843, 0.0667, 0.4745
RGB percentages18.4%, 6.7%, 47.5%
HSLhsl(257.3, 75.4%, 27.1%)
HSV / HSBhsv(257.3, 86%, 47.5%)
CMYK61.2%, 86%, 0%, 52.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,084,665
CSS custom property--colour: #2F1179;
Brightness & contrast
Relative luminance0.02386WCAG 2.x, 0 is black and 1 is white
Perceived brightness50 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.22:1
Contrast with white14.22:1WCAG normal text: AAA
Contrast with black1.48:1WCAG normal text: Fail
Greyscale equivalent#1F1F1F
Inverted#D0EE86
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.22:1WCAG large text: AAA
Contrast with black, large text1.48:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#5B7911
Analogous#112779, #631179
Triadic#792F11, #11792F
Split complementary#796311, #277911
Tetradic#791127, #5B7911, #117963
Tints, shades & saturation
Channel breakdown
R47
G17
B121
Red47 (18.4%)
Green17 (6.7%)
Blue121 (47.5%)
Hue257.31°
Saturation (HSL)75.36%
Lightness27.06%
Dominant channelBlue
Hex per channelR 2F · G 11 · B 79
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