Nerdulator> put something in

Recognised as Colour

#2B0240

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

#2B0240 is a violet with RGB values 43, 2, 64 and HSL 280°, 94%, 13%. 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

#2B0240#2B0240
HEX#2B0240
RGBrgb(43, 2, 64)
RGB (0–1)0.1686, 0.0078, 0.251
RGB percentages16.9%, 0.8%, 25.1%
HSLhsl(279.7, 93.9%, 12.9%)
HSV / HSBhsv(279.7, 96.9%, 25.1%)
CMYK32.8%, 96.9%, 0%, 74.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,818,624
CSS custom property--colour: #2B0240;

Brightness & contrast

Relative luminance0.00927WCAG 2.x, 0 is black and 1 is white
Perceived brightness32 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.72:1
Contrast with white17.72:1WCAG normal text: AAA
Contrast with black1.19:1WCAG normal text: Fail
Greyscale equivalent#0F0F0F
Inverted#D4FDBF

Colour vision & accessibility

Protanopia#001742no red cones; affects about 1% of men; ΔE 20.4 from the original
Deuteranopia#00193Fno green cones; the most common form, about 1% of men; ΔE 23.6 from the original
Tritanopia#281222no blue cones; rare, and affects men and women equally; ΔE 28.8 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text17.72:1WCAG large text: AAA
Contrast with black, large text1.19:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#174002
Analogous#0C0240, #400236
Triadic#402B02, #02402B
Split complementary#364002, #02400C
Tetradic#400C02, #174002, #023640

Tints, shades & saturation

Lighter +40%#AB16F8
Lighter +30%#8F07D4
Lighter +20%#6D05A3
Lighter +10%#4C0471
Darker −10%#0A000F
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#2C0042
Less saturated −25%#280A38

Channel breakdown

R43
G2
B64
Red43 (16.9%)
Green2 (0.8%)
Blue64 (25.1%)
Hue279.68°
Saturation (HSL)93.94%
Lightness12.94%
Dominant channelBlue
Hex per channelR 2B · G 02 · B 40

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