Nerdulator> put something in

Recognised as Colour

#2A1F43

  • #2A1F43
  • Violet
  • Dark
  • Nearest: Dark slateblue

#2A1F43 is a violet with RGB values 42, 31, 67 and HSL 258°, 37%, 19%. It is a dark colour, so white text on it reaches 15.3:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.

Colour values

#2A1F43#2A1F43
HEX#2A1F43
RGBrgb(42, 31, 67)
RGB (0–1)0.1647, 0.1216, 0.2627
RGB percentages16.5%, 12.2%, 26.3%
HSLhsl(258.3, 36.7%, 19.2%)
HSV / HSBhsv(258.3, 53.7%, 26.3%)
CMYK37.3%, 53.7%, 0%, 73.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,760,515
CSS custom property--colour: #2A1F43;

Brightness & contrast

Relative luminance0.01877WCAG 2.x, 0 is black and 1 is white
Perceived brightness40 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.27:1
Contrast with white15.27:1WCAG normal text: AAA
Contrast with black1.38:1WCAG normal text: Fail
Greyscale equivalent#242424
Inverted#D5E0BC

Colour vision & accessibility

Protanopia#132644no red cones; affects about 1% of men; ΔE 11.2 from the original
Deuteranopia#152542no green cones; the most common form, about 1% of men; ΔE 10.9 from the original
Tritanopia#24262Dno blue cones; rare, and affects men and women equally; ΔE 21.3 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text15.27:1WCAG large text: AAA
Contrast with black, large text1.38:1WCAG large text: Fail

Named colours

Nearest named CSS colourDark slateblue (#483D8B)ΔE 28.72, a distinctly different colour
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#38431F
Analogous#1F2643, #3C1F43
Triadic#432A1F, #1F432A
Split complementary#433C1F, #26431F
Tetradic#431F26, #38431F, #1F433C

Tints, shades & saturation

Lighter +40%#8871BD
Lighter +30%#6C4FAC
Lighter +20%#563F89
Lighter +10%#402F66
Darker −10%#140F20
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#25134F
Less saturated −25%#2F2B37

Channel breakdown

R42
G31
B67
Red42 (16.5%)
Green31 (12.2%)
Blue67 (26.3%)
Hue258.33°
Saturation (HSL)36.73%
Lightness19.22%
Dominant channelBlue
Hex per channelR 2A · G 1F · B 43

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