Nerdulator> put something in

Recognised as Colour

#2B124C

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

#2B124C is a violet with RGB values 43, 18, 76 and HSL 266°, 62%, 18%. It is a dark colour, so white text on it reaches 16.2:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#2B124C#2B124C
HEX#2B124C
RGBrgb(43, 18, 76)
RGB (0–1)0.1686, 0.0706, 0.298
RGB percentages16.9%, 7.1%, 29.8%
HSLhsl(265.9, 61.7%, 18.4%)
HSV / HSBhsv(265.9, 76.3%, 29.8%)
CMYK43.4%, 76.3%, 0%, 70.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,822,732
CSS custom property--colour: #2B124C;

Brightness & contrast

Relative luminance0.01468WCAG 2.x, 0 is black and 1 is white
Perceived brightness37.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.23:1
Contrast with white16.23:1WCAG normal text: AAA
Contrast with black1.29:1WCAG normal text: Fail
Greyscale equivalent#1C1C1C
Inverted#D4EDB3

Colour vision & accessibility

Protanopia#00204Eno red cones; affects about 1% of men; ΔE 16.7 from the original
Deuteranopia#00204Bno green cones; the most common form, about 1% of men; ΔE 18.1 from the original
Tritanopia#23202Dno blue cones; rare, and affects men and women equally; ΔE 31.6 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text16.23:1WCAG large text: AAA
Contrast with black, large text1.29:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#334C12
Analogous#12164C, #48124C
Triadic#4C2B12, #124C2B
Split complementary#4C4812, #164C12
Tetradic#4C1216, #334C12, #124C48

Tints, shades & saturation

Lighter +40%#8C54D6
Lighter +30%#712FC8
Lighter +20%#5A269E
Lighter +10%#421C75
Darker −10%#140823
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#290658
Less saturated −25%#2D1E40

Channel breakdown

R43
G18
B76
Red43 (16.9%)
Green18 (7.1%)
Blue76 (29.8%)
Hue265.86°
Saturation (HSL)61.7%
Lightness18.43%
Dominant channelBlue
Hex per channelR 2B · G 12 · B 4C

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