Recognised as Colour
#31056F
- #31056F
- Violet
- Dark
- Nearest: Indigo
#31056F is a violet with RGB values 49, 5, 111 and HSL 265°, 91%, 23%. It is a dark colour, so white text on it reaches 15.2:1 contrast (AAA for normal text). The nearest named colour is Indigo.
Colour values
#31056F#31056F
HEX#31056F
RGBrgb(49, 5, 111)
RGB (0–1)0.1922, 0.0196, 0.4353
RGB percentages19.2%, 2%, 43.5%
HSLhsl(264.9, 91.4%, 22.7%)
HSV / HSBhsv(264.9, 95.5%, 43.5%)
CMYK55.9%, 95.5%, 0%, 56.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,212,655
CSS custom property--colour: #31056F;
Brightness & contrast
Relative luminance0.01909WCAG 2.x, 0 is black and 1 is white
Perceived brightness46.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.2:1
Contrast with white15.2:1WCAG normal text: AAA
Contrast with black1.38:1WCAG normal text: Fail
Greyscale equivalent#161616
Inverted#CEFA90
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text15.2:1WCAG large text: AAA
Contrast with black, large text1.38:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#436F05
Analogous#050E6F, #66056F
Triadic#6F3105, #056F31
Split complementary#6F6605, #0E6F05
Tetradic#6F050E, #436F05, #056F66
Tints, shades & saturation
Channel breakdown
R49
G5
B111
Red49 (19.2%)
Green5 (2%)
Blue111 (43.5%)
Hue264.91°
Saturation (HSL)91.38%
Lightness22.75%
Dominant channelBlue
Hex per channelR 31 · G 05 · B 6F
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