Nerdulator> put something in

Recognised as Colour

#20004A

  • #20004A
  • Violet
  • Dark
  • Nearest: Midnight blue

#20004A is a violet with RGB values 32, 0, 74 and HSL 266°, 100%, 15%. It is a dark colour, so white text on it reaches 18.1:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#20004A#20004A
HEX#20004A
RGBrgb(32, 0, 74)
RGB (0–1)0.1255, 0, 0.2902
RGB percentages12.5%, 0%, 29%
HSLhsl(265.9, 100%, 14.5%)
HSV / HSBhsv(265.9, 100%, 29%)
CMYK56.8%, 100%, 0%, 71%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,097,226
CSS custom property--colour: #20004A;

Brightness & contrast

Relative luminance0.00801WCAG 2.x, 0 is black and 1 is white
Perceived brightness30.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 18.1:1
Contrast with white18.1:1WCAG normal text: AAA
Contrast with black1.16:1WCAG normal text: Fail
Greyscale equivalent#0C0C0C
Inverted#DFFFB5

Colour vision & accessibility

Protanopia#00174Cno red cones; affects about 1% of men; ΔE 18.3 from the original
Deuteranopia#001549no green cones; the most common form, about 1% of men; ΔE 18.1 from the original
Tritanopia#121828no blue cones; rare, and affects men and women equally; ΔE 40.9 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text18.1:1WCAG large text: AAA
Contrast with black, large text1.16:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#2A4A00
Analogous#00054A, #45004A
Triadic#4A2000, #004A20
Split complementary#4A4500, #054A00
Tetradic#4A0005, #2A4A00, #004A45

Tints, shades & saturation

Lighter +40%#7B17FF
Lighter +30%#6200E3
Lighter +20%#4C00B0
Lighter +10%#36007D
Darker −10%#0A0017
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#20004A
Less saturated −25%#210941

Channel breakdown

R32
G0
B74
Red32 (12.5%)
Green0 (0%)
Blue74 (29%)
Hue265.95°
Saturation (HSL)100%
Lightness14.51%
Dominant channelBlue
Hex per channelR 20 · G 00 · B 4A

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