Nerdulator> put something in

Recognised as Colour

#28004A

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

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

Colour values

#28004A#28004A
HEX#28004A
RGBrgb(40, 0, 74)
RGB (0–1)0.1569, 0, 0.2902
RGB percentages15.7%, 0%, 29%
HSLhsl(272.4, 100%, 14.5%)
HSV / HSBhsv(272.4, 100%, 29%)
CMYK45.9%, 100%, 0%, 71%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,621,514
CSS custom property--colour: #28004A;

Brightness & contrast

Relative luminance0.00946WCAG 2.x, 0 is black and 1 is white
Perceived brightness33.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.66:1
Contrast with white17.66:1WCAG normal text: AAA
Contrast with black1.19:1WCAG normal text: Fail
Greyscale equivalent#0E0E0E
Inverted#D7FFB5

Colour vision & accessibility

Protanopia#00184Cno red cones; affects about 1% of men; ΔE 19.7 from the original
Deuteranopia#001849no green cones; the most common form, about 1% of men; ΔE 21.2 from the original
Tritanopia#201728no blue cones; rare, and affects men and women equally; ΔE 36.9 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text17.66:1WCAG large text: AAA
Contrast with black, large text1.19:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#224A00
Analogous#03004A, #4A0047
Triadic#4A2800, #004A28
Split complementary#474A00, #004A03
Tetradic#4A0300, #224A00, #00474A

Tints, shades & saturation

Lighter +40%#9417FF
Lighter +30%#7B00E3
Lighter +20%#5F00B0
Lighter +10%#44007D
Darker −10%#0C0017
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#28004A
Less saturated −25%#270941

Channel breakdown

R40
G0
B74
Red40 (15.7%)
Green0 (0%)
Blue74 (29%)
Hue272.43°
Saturation (HSL)100%
Lightness14.51%
Dominant channelBlue
Hex per channelR 28 · 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 “28004a” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.