Nerdulator> put something in

Recognised as Colour

#2B1F40

  • #2B1F40
  • Violet
  • Dark
  • Nearest: Black

#2B1F40 is a violet with RGB values 43, 31, 64 and HSL 262°, 35%, 19%. It is a dark colour, so white text on it reaches 15.3:1 contrast (AAA for normal text). The nearest named colour is Black.

Colour values

#2B1F40#2B1F40
HEX#2B1F40
RGBrgb(43, 31, 64)
RGB (0–1)0.1686, 0.1216, 0.251
RGB percentages16.9%, 12.2%, 25.1%
HSLhsl(261.8, 34.7%, 18.6%)
HSV / HSBhsv(261.8, 51.6%, 25.1%)
CMYK32.8%, 51.6%, 0%, 74.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,826,048
CSS custom property--colour: #2B1F40;

Brightness & contrast

Relative luminance0.01864WCAG 2.x, 0 is black and 1 is white
Perceived brightness39.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.3:1
Contrast with white15.3:1WCAG normal text: AAA
Contrast with black1.37:1WCAG normal text: Fail
Greyscale equivalent#242424
Inverted#D4E0BF

Colour vision & accessibility

Protanopia#152541no red cones; affects about 1% of men; ΔE 10.7 from the original
Deuteranopia#18253Fno green cones; the most common form, about 1% of men; ΔE 10.7 from the original
Tritanopia#27252Cno blue cones; rare, and affects men and women equally; ΔE 18.8 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text15.3:1WCAG large text: AAA
Contrast with black, large text1.37:1WCAG large text: Fail

Named colours

Nearest named CSS colourBlack (#000000)ΔE 28, a distinctly different colour
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#34401F
Analogous#1F2440, #3B1F40
Triadic#402B1F, #1F402B
Split complementary#403C1F, #24401F
Tetradic#401F24, #34401F, #1F403B

Tints, shades & saturation

Lighter +40%#8C71BA
Lighter +30%#7051A7
Lighter +20%#594085
Lighter +10%#423062
Darker −10%#140E1E
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#28134C
Less saturated −25%#2E2B34

Channel breakdown

R43
G31
B64
Red43 (16.9%)
Green31 (12.2%)
Blue64 (25.1%)
Hue261.82°
Saturation (HSL)34.74%
Lightness18.63%
Dominant channelBlue
Hex per channelR 2B · G 1F · 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 “2b1f40” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.