Recognised as Colour
#31084F
- #31084F
- Violet
- Dark
- Nearest: Midnight blue
#31084F is a violet with RGB values 49, 8, 79 and HSL 275°, 82%, 17%. It is a dark colour, so white text on it reaches 16.4:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#31084F#31084F
HEX#31084F
RGBrgb(49, 8, 79)
RGB (0–1)0.1922, 0.0314, 0.3098
RGB percentages19.2%, 3.1%, 31%
HSLhsl(274.6, 81.6%, 17.1%)
HSV / HSBhsv(274.6, 89.9%, 31%)
CMYK38%, 89.9%, 0%, 69%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,213,391
CSS custom property--colour: #31084F;
Brightness & contrast
Relative luminance0.01391WCAG 2.x, 0 is black and 1 is white
Perceived brightness38.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.43:1
Contrast with white16.43:1WCAG normal text: AAA
Contrast with black1.28:1WCAG normal text: Fail
Greyscale equivalent#161616
Inverted#CEF7B0
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text16.43:1WCAG large text: AAA
Contrast with black, large text1.28:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#264F08
Analogous#0E084F, #4F0849
Triadic#4F3108, #084F31
Split complementary#4A4F08, #084F0D
Tetradic#4F0D08, #264F08, #084A4F
Tints, shades & saturation
Channel breakdown
R49
G8
B79
Red49 (19.2%)
Green8 (3.1%)
Blue79 (31%)
Hue274.65°
Saturation (HSL)81.61%
Lightness17.06%
Dominant channelBlue
Hex per channelR 31 · G 08 · B 4F
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