Nerdulator> put something in

Recognised as Colour

#2B0042

  • #2B0042
  • Violet
  • Dark
  • Nearest: Midnight blue

#2B0042 is a violet with RGB values 43, 0, 66 and HSL 279°, 100%, 13%. It is a dark colour, so white text on it reaches 17.8:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#2B0042#2B0042
HEX#2B0042
RGBrgb(43, 0, 66)
RGB (0–1)0.1686, 0, 0.2588
RGB percentages16.9%, 0%, 25.9%
HSLhsl(279.1, 100%, 12.9%)
HSV / HSBhsv(279.1, 100%, 25.9%)
CMYK34.8%, 100%, 0%, 74.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,818,114
CSS custom property--colour: #2B0042;

Brightness & contrast

Relative luminance0.00907WCAG 2.x, 0 is black and 1 is white
Perceived brightness32.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.78:1
Contrast with white17.78:1WCAG normal text: AAA
Contrast with black1.18:1WCAG normal text: Fail
Greyscale equivalent#0E0E0E
Inverted#D4FFBD

Colour vision & accessibility

Protanopia#001644no red cones; affects about 1% of men; ΔE 20.2 from the original
Deuteranopia#001841no green cones; the most common form, about 1% of men; ΔE 23.4 from the original
Tritanopia#271223no blue cones; rare, and affects men and women equally; ΔE 30.6 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text17.78:1WCAG large text: AAA
Contrast with black, large text1.18:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#174200
Analogous#0A0042, #420038
Triadic#422B00, #00422B
Split complementary#384200, #00420A
Tetradic#420A00, #174200, #003842

Tints, shades & saturation

Lighter +40%#AB0FFF
Lighter +30%#8F00DB
Lighter +20%#6D00A8
Lighter +10%#4C0075
Darker −10%#0A000F
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#2B0042
Less saturated −25%#28083A

Channel breakdown

R43
G0
B66
Red43 (16.9%)
Green0 (0%)
Blue66 (25.9%)
Hue279.09°
Saturation (HSL)100%
Lightness12.94%
Dominant channelBlue
Hex per channelR 2B · G 00 · B 42

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