Nerdulator> put something in

Recognised as Colour

#2B0158

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

#2B0158 is a violet with RGB values 43, 1, 88 and HSL 269°, 98%, 17%. It is a dark colour, so white text on it reaches 16.8:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#2B0158#2B0158
HEX#2B0158
RGBrgb(43, 1, 88)
RGB (0–1)0.1686, 0.0039, 0.3451
RGB percentages16.9%, 0.4%, 34.5%
HSLhsl(269, 97.8%, 17.5%)
HSV / HSBhsv(269, 98.9%, 34.5%)
CMYK51.1%, 98.9%, 0%, 65.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,818,392
CSS custom property--colour: #2B0158;

Brightness & contrast

Relative luminance0.0124WCAG 2.x, 0 is black and 1 is white
Perceived brightness37.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.83:1
Contrast with white16.83:1WCAG normal text: AAA
Contrast with black1.25:1WCAG normal text: Fail
Greyscale equivalent#101010
Inverted#D4FEA7

Colour vision & accessibility

Protanopia#001E5Ano red cones; affects about 1% of men; ΔE 21.4 from the original
Deuteranopia#001C57no green cones; the most common form, about 1% of men; ΔE 21.2 from the original
Tritanopia#1E1E30no blue cones; rare, and affects men and women equally; ΔE 44.4 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text16.83:1WCAG large text: AAA
Contrast with black, large text1.25:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#2E5801
Analogous#010258, #560158
Triadic#582B01, #01582B
Split complementary#585601, #035801
Tetradic#580103, #2E5801, #015857

Tints, shades & saturation

Lighter +40%#8F28FD
Lighter +30%#7503EF
Lighter +20%#5C02BD
Lighter +10%#44028A
Darker −10%#120026
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#2B0059
Less saturated −25%#2B0C4D

Channel breakdown

R43
G1
B88
Red43 (16.9%)
Green1 (0.4%)
Blue88 (34.5%)
Hue268.97°
Saturation (HSL)97.75%
Lightness17.45%
Dominant channelBlue
Hex per channelR 2B · G 01 · B 58

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