Nerdulator> put something in

Recognised as Colour

#310C48

  • #310C48
  • Violet
  • Dark
  • Nearest: Midnight blue

#310C48 is a violet with RGB values 49, 12, 72 and HSL 277°, 71%, 16%. 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

#310C48#310C48
HEX#310C48
RGBrgb(49, 12, 72)
RGB (0–1)0.1922, 0.0471, 0.2824
RGB percentages19.2%, 4.7%, 28.2%
HSLhsl(277, 71.4%, 16.5%)
HSV / HSBhsv(277, 83.3%, 28.2%)
CMYK31.9%, 83.3%, 0%, 71.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,214,408
CSS custom property--colour: #310C48;

Brightness & contrast

Relative luminance0.01384WCAG 2.x, 0 is black and 1 is white
Perceived brightness37.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.45:1
Contrast with white16.45:1WCAG normal text: AAA
Contrast with black1.28:1WCAG normal text: Fail
Greyscale equivalent#181818
Inverted#CEF3B7

Colour vision & accessibility

Protanopia#001E4Ano red cones; affects about 1% of men; ΔE 20.4 from the original
Deuteranopia#002047no green cones; the most common form, about 1% of men; ΔE 23.5 from the original
Tritanopia#2D1A29no blue cones; rare, and affects men and women equally; ΔE 28.9 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text16.45:1WCAG large text: AAA
Contrast with black, large text1.28:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 20.86, a distinctly different colour
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#23480C
Analogous#130C48, #480C41
Triadic#48310C, #0C4831
Split complementary#41480C, #0C4813
Tetradic#48130C, #23480C, #0C4148

Tints, shades & saturation

Lighter +40%#A241DF
Lighter +30%#8A22CB
Lighter +20%#6C1B9F
Lighter +10%#4F1374
Darker −10%#13051C
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#330152
Less saturated −25%#2F163D

Channel breakdown

R49
G12
B72
Red49 (19.2%)
Green12 (4.7%)
Blue72 (28.2%)
Hue277°
Saturation (HSL)71.43%
Lightness16.47%
Dominant channelBlue
Hex per channelR 31 · G 0C · B 48

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 “310c48” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.