Nerdulator> put something in

Colour

#2A1348

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

#2A1348 is a violet with RGB values 42, 19, 72 and HSL 266°, 58%, 18%. It is a dark colour, so white text on it reaches 16.3:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#2A1348#2A1348
HEX#2A1348
RGBrgb(42, 19, 72)
RGB (0–1)0.1647, 0.0745, 0.2824
RGB percentages16.5%, 7.5%, 28.2%
HSLhsl(266, 58.2%, 17.8%)
HSV / HSBhsv(266, 73.6%, 28.2%)
CMYK41.7%, 73.6%, 0%, 71.8%naive device-independent conversion; real print needs an ICC profile
24-bit integer2,757,448
CSS custom property--colour: #2A1348;

Brightness & contrast

Relative luminance0.01426WCAG 2.x, 0 is black and 1 is white
Perceived brightness36.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.34:1
Contrast with white16.34:1WCAG normal text: AAA
Contrast with black1.29:1WCAG normal text: Fail
Greyscale equivalent#1C1C1C
Inverted#D5ECB7

Colour vision & accessibility

Protanopia#00204Ano red cones; affects about 1% of men; ΔE 16.6 from the original
Deuteranopia#001F47no green cones; the most common form, about 1% of men; ΔE 17.2 from the original
Tritanopia#231F2Bno blue cones; rare, and affects men and women equally; ΔE 29 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text16.34:1WCAG large text: AAA
Contrast with black, large text1.29:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#314813
Analogous#131648, #451348
Triadic#482A13, #13482A
Split complementary#484413, #174813
Tetradic#481316, #314813, #134845

Tints, shades & saturation

Lighter +40%#8B55D2
Lighter +30%#7133C1
Lighter +20%#592899
Lighter +10%#421E70
Darker −10%#120820
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#280853
Less saturated −25%#2C1E3D

Channel breakdown

R42
G19
B72
Red42 (16.5%)
Green19 (7.5%)
Blue72 (28.2%)
Hue266.04°
Saturation (HSL)58.24%
Lightness17.84%
Dominant channelBlue
Hex per channelR 2A · G 13 · B 48

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