Nerdulator> put something in

Recognised as Colour

#2B0152

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

#2B0152 is a violet with RGB values 43, 1, 82 and HSL 271°, 98%, 16%. It is a dark colour, so white text on it reaches 17.1:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#2B0152#2B0152
HEX#2B0152
RGBrgb(43, 1, 82)
RGB (0–1)0.1686, 0.0039, 0.3216
RGB percentages16.9%, 0.4%, 32.2%
HSLhsl(271.1, 97.6%, 16.3%)
HSV / HSBhsv(271.1, 98.8%, 32.2%)
CMYK47.6%, 98.8%, 0%, 67.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,818,386
CSS custom property--colour: #2B0152;

Brightness & contrast

Relative luminance0.01144WCAG 2.x, 0 is black and 1 is white
Perceived brightness36.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.09:1
Contrast with white17.09:1WCAG normal text: AAA
Contrast with black1.23:1WCAG normal text: Fail
Greyscale equivalent#101010
Inverted#D4FEAD

Colour vision & accessibility

Protanopia#001C54no red cones; affects about 1% of men; ΔE 21 from the original
Deuteranopia#001B51no green cones; the most common form, about 1% of men; ΔE 21.6 from the original
Tritanopia#211B2Dno blue cones; rare, and affects men and women equally; ΔE 40.2 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text17.09:1WCAG large text: AAA
Contrast with black, large text1.23:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#285201
Analogous#020152, #520151
Triadic#522B01, #01522B
Split complementary#515201, #015202
Tetradic#520201, #285201, #015152

Tints, shades & saturation

Lighter +40%#9423FC
Lighter +30%#7A03E9
Lighter +20%#6002B7
Lighter +10%#450284
Darker −10%#110020
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#2B0053
Less saturated −25%#2B0B48

Channel breakdown

R43
G1
B82
Red43 (16.9%)
Green1 (0.4%)
Blue82 (32.2%)
Hue271.11°
Saturation (HSL)97.59%
Lightness16.27%
Dominant channelBlue
Hex per channelR 2B · G 01 · B 52

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