Nerdulator> put something in

Colour

#311B72

  • #311B72
  • Violet
  • Dark
  • Nearest: Midnight blue

#311B72 is a violet with RGB values 49, 27, 114 and HSL 255°, 62%, 28%. It is a dark colour, so white text on it reaches 13.7:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#311B72#311B72
HEX#311B72
RGBrgb(49, 27, 114)
RGB (0–1)0.1922, 0.1059, 0.4471
RGB percentages19.2%, 10.6%, 44.7%
HSLhsl(255.2, 61.7%, 27.6%)
HSV / HSBhsv(255.2, 76.3%, 44.7%)
CMYK57%, 76.3%, 0%, 55.3%naive device-independent conversion; real print needs an ICC profile
24-bit integer3,218,290
CSS custom property--colour: #311B72;

Brightness & contrast

Relative luminance0.02652WCAG 2.x, 0 is black and 1 is white
Perceived brightness51.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.72:1
Contrast with white13.72:1WCAG normal text: AAA
Contrast with black1.53:1WCAG normal text: Fail
Greyscale equivalent#262626
Inverted#CEE48D

Colour vision & accessibility

Protanopia#002F75no red cones; affects about 1% of men; ΔE 18.2 from the original
Deuteranopia#002B70no green cones; the most common form, about 1% of men; ΔE 17.4 from the original
Tritanopia#153345no blue cones; rare, and affects men and women equally; ΔE 50.3 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.72:1WCAG large text: AAA
Contrast with black, large text1.53:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 5.02, clearly different but related
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#5C721B
Analogous#1B3072, #5D1B72
Triadic#72311B, #1B7231
Split complementary#725D1B, #30721B
Tetradic#721B30, #5C721B, #1B725D

Tints, shades & saturation

Lighter +40%#937ADF
Lighter +30%#7250D6
Lighter +20%#542FC4
Lighter +10%#43259B
Darker −10%#1F1149
Darker −20%#0E0720
Darker −30%#000000
Darker −40%#000000
More saturated +25%#280984
Less saturated −25%#3A2D60

Channel breakdown

R49
G27
B114
Red49 (19.2%)
Green27 (10.6%)
Blue114 (44.7%)
Hue255.17°
Saturation (HSL)61.7%
Lightness27.65%
Dominant channelBlue
Hex per channelR 31 · G 1B · B 72

Keep nerding

Every link below is a page Nerdulator can generate from what it already knows about this value.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

Every value on this page was computed from “311b72” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.