Nerdulator> put something in

Recognised as Colour

#31125D

  • #31125D
  • Violet
  • Dark
  • Nearest: Midnight blue

#31125D is a violet with RGB values 49, 18, 93 and HSL 265°, 68%, 22%. It is a dark colour, so white text on it reaches 15.3:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#31125D#31125D
HEX#31125D
RGBrgb(49, 18, 93)
RGB (0–1)0.1922, 0.0706, 0.3647
RGB percentages19.2%, 7.1%, 36.5%
HSLhsl(264.8, 67.6%, 21.8%)
HSV / HSBhsv(264.8, 80.6%, 36.5%)
CMYK47.3%, 80.6%, 0%, 63.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,215,965
CSS custom property--colour: #31125D;

Brightness & contrast

Relative luminance0.01876WCAG 2.x, 0 is black and 1 is white
Perceived brightness43.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.27:1
Contrast with white15.27:1WCAG normal text: AAA
Contrast with black1.38:1WCAG normal text: Fail
Greyscale equivalent#1E1E1E
Inverted#CEEDA2

Colour vision & accessibility

Protanopia#00265Fno red cones; affects about 1% of men; ΔE 19.7 from the original
Deuteranopia#00245Cno green cones; the most common form, about 1% of men; ΔE 19.5 from the original
Tritanopia#252637no blue cones; rare, and affects men and women equally; ΔE 39.6 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text15.27:1WCAG large text: AAA
Contrast with black, large text1.38:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#3E5D12
Analogous#12195D, #56125D
Triadic#5D3112, #125D31
Split complementary#5D5712, #185D12
Tetradic#5D1219, #3E5D12, #125D56

Tints, shades & saturation

Lighter +40%#925CDF
Lighter +30%#7631D7
Lighter +20%#5E23B2
Lighter +10%#481A88
Darker −10%#1A0A32
Darker −20%#040108
Darker −30%#000000
Darker −40%#000000
More saturated +25%#2F046B
Less saturated −25%#33204F

Channel breakdown

R49
G18
B93
Red49 (19.2%)
Green18 (7.1%)
Blue93 (36.5%)
Hue264.8°
Saturation (HSL)67.57%
Lightness21.76%
Dominant channelBlue
Hex per channelR 31 · G 12 · B 5D

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