Nerdulator> put something in

Recognised as Colour

#31166F

  • #31166F
  • Violet
  • Dark
  • Nearest: Midnight blue

#31166F is a violet with RGB values 49, 22, 111 and HSL 258°, 67%, 26%. It is a dark colour, so white text on it reaches 14.2:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#31166F#31166F
HEX#31166F
RGBrgb(49, 22, 111)
RGB (0–1)0.1922, 0.0863, 0.4353
RGB percentages19.2%, 8.6%, 43.5%
HSLhsl(258.2, 66.9%, 26.1%)
HSV / HSBhsv(258.2, 80.2%, 43.5%)
CMYK55.9%, 80.2%, 0%, 56.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,217,007
CSS custom property--colour: #31166F;

Brightness & contrast

Relative luminance0.02374WCAG 2.x, 0 is black and 1 is white
Perceived brightness49.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.24:1
Contrast with white14.24:1WCAG normal text: AAA
Contrast with black1.47:1WCAG normal text: Fail
Greyscale equivalent#222222
Inverted#CEE990

Colour vision & accessibility

Protanopia#002C72no red cones; affects about 1% of men; ΔE 19.1 from the original
Deuteranopia#00286Dno green cones; the most common form, about 1% of men; ΔE 18.3 from the original
Tritanopia#192F42no blue cones; rare, and affects men and women equally; ΔE 49.7 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.24:1WCAG large text: AAA
Contrast with black, large text1.47:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#546F16
Analogous#16276F, #5E166F
Triadic#6F3116, #166F31
Split complementary#6F5E16, #276F16
Tetradic#6F1627, #546F16, #166F5E

Tints, shades & saturation

Lighter +40%#926FE2
Lighter +30%#7244DA
Lighter +20%#5727C4
Lighter +10%#441E9A
Darker −10%#1E0E44
Darker −20%#0B051A
Darker −30%#000000
Darker −40%#000000
More saturated +25%#2A0580
Less saturated −25%#38275E

Channel breakdown

R49
G22
B111
Red49 (19.2%)
Green22 (8.6%)
Blue111 (43.5%)
Hue258.2°
Saturation (HSL)66.92%
Lightness26.08%
Dominant channelBlue
Hex per channelR 31 · G 16 · B 6F

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