Nerdulator> put something in

Recognised as Colour

#40216D

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

#40216D is a violet with RGB values 64, 33, 109 and HSL 264°, 54%, 28%. It is a dark colour, so white text on it reaches 12.7:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#40216D#40216D
HEX#40216D
RGBrgb(64, 33, 109)
RGB (0–1)0.251, 0.1294, 0.4275
RGB percentages25.1%, 12.9%, 42.7%
HSLhsl(264.5, 53.5%, 27.8%)
HSV / HSBhsv(264.5, 69.7%, 42.7%)
CMYK41.3%, 69.7%, 0%, 57.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,202,861
CSS custom property--colour: #40216D;

Brightness & contrast

Relative luminance0.03282WCAG 2.x, 0 is black and 1 is white
Perceived brightness56.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.68:1
Contrast with white12.68:1WCAG normal text: AAA
Contrast with black1.66:1WCAG normal text: Fail
Greyscale equivalent#2D2D2D
Inverted#BFDE92

Colour vision & accessibility

Protanopia#00336Fno red cones; affects about 1% of men; ΔE 21.5 from the original
Deuteranopia#00326Bno green cones; the most common form, about 1% of men; ΔE 22.6 from the original
Tritanopia#353344no blue cones; rare, and affects men and women equally; ΔE 39.4 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text12.68:1WCAG large text: AAA
Contrast with black, large text1.66:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#4E6D21
Analogous#21286D, #66216D
Triadic#6D4021, #216D40
Split complementary#6D6621, #286D21
Tetradic#6D2128, #4E6D21, #216D66

Tints, shades & saturation

Lighter +40%#A581D9
Lighter +30%#895ACD
Lighter +20%#6E39BB
Lighter +10%#572D94
Darker −10%#291546
Darker −20%#12091F
Darker −30%#000000
Darker −40%#000000
More saturated +25%#3D0F7F
Less saturated −25%#43335B

Channel breakdown

R64
G33
B109
Red64 (25.1%)
Green33 (12.9%)
Blue109 (42.7%)
Hue264.47°
Saturation (HSL)53.52%
Lightness27.84%
Dominant channelBlue
Hex per channelR 40 · G 21 · B 6D

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