Recognised as Colour
#31015C
- #31015C
- Violet
- Dark
- Nearest: Midnight blue
#31015C is a violet with RGB values 49, 1, 92 and HSL 272°, 98%, 18%. It is a dark colour, so white text on it reaches 16.3:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#31015C#31015C
HEX#31015C
RGBrgb(49, 1, 92)
RGB (0–1)0.1922, 0.0039, 0.3608
RGB percentages19.2%, 0.4%, 36.1%
HSLhsl(271.6, 97.8%, 18.2%)
HSV / HSBhsv(271.6, 98.9%, 36.1%)
CMYK46.7%, 98.9%, 0%, 63.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,211,612
CSS custom property--colour: #31015C;
Brightness & contrast
Relative luminance0.01447WCAG 2.x, 0 is black and 1 is white
Perceived brightness41 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.29:1
Contrast with white16.29:1WCAG normal text: AAA
Contrast with black1.29:1WCAG normal text: Fail
Greyscale equivalent#121212
Inverted#CEFEA3
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text16.29:1WCAG large text: AAA
Contrast with black, large text1.29:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#2C5C01
Analogous#03015C, #5C015A
Triadic#5C3101, #015C31
Split complementary#5A5C01, #015C03
Tetradic#5C0301, #2C5C01, #015A5C
Tints, shades & saturation
Channel breakdown
R49
G1
B92
Red49 (19.2%)
Green1 (0.4%)
Blue92 (36.1%)
Hue271.65°
Saturation (HSL)97.85%
Lightness18.24%
Dominant channelBlue
Hex per channelR 31 · G 01 · B 5C
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