Nerdulator> put something in

Colour

#2A154B

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

#2A154B is a violet with RGB values 42, 21, 75 and HSL 263°, 56%, 19%. It is a dark colour, so white text on it reaches 16.1:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#2A154B#2A154B
HEX#2A154B
RGBrgb(42, 21, 75)
RGB (0–1)0.1647, 0.0824, 0.2941
RGB percentages16.5%, 8.2%, 29.4%
HSLhsl(263.3, 56.3%, 18.8%)
HSV / HSBhsv(263.3, 72%, 29.4%)
CMYK44%, 72%, 0%, 70.6%naive device-independent conversion; real print needs an ICC profile
24-bit integer2,757,963
CSS custom property--colour: #2A154B;

Brightness & contrast

Relative luminance0.01537WCAG 2.x, 0 is black and 1 is white
Perceived brightness37.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.06:1
Contrast with white16.06:1WCAG normal text: AAA
Contrast with black1.31:1WCAG normal text: Fail
Greyscale equivalent#1D1D1D
Inverted#D5EAB4

Colour vision & accessibility

Protanopia#00214Dno red cones; affects about 1% of men; ΔE 15.6 from the original
Deuteranopia#00214Ano green cones; the most common form, about 1% of men; ΔE 17 from the original
Tritanopia#22212Dno blue cones; rare, and affects men and women equally; ΔE 30 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text16.06:1WCAG large text: AAA
Contrast with black, large text1.31:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#364B15
Analogous#151B4B, #45154B
Triadic#4B2A15, #154B2A
Split complementary#4B4515, #1B4B15
Tetradic#4B151B, #364B15, #154B45

Tints, shades & saturation

Lighter +40%#895BD1
Lighter +30%#6D36C3
Lighter +20%#572B9B
Lighter +10%#402073
Darker −10%#140A23
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#270957
Less saturated −25%#2D213F

Channel breakdown

R42
G21
B75
Red42 (16.5%)
Green21 (8.2%)
Blue75 (29.4%)
Hue263.33°
Saturation (HSL)56.25%
Lightness18.82%
Dominant channelBlue
Hex per channelR 2A · G 15 · B 4B

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