Nerdulator> put something in

Recognised as Colour

#3A2179

  • #3A2179
  • Violet
  • Dark
  • Nearest: Midnight blue

#3A2179 is a violet with RGB values 58, 33, 121 and HSL 257°, 57%, 30%. It is a dark colour, so white text on it reaches 12.5:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#3A2179#3A2179
HEX#3A2179
RGBrgb(58, 33, 121)
RGB (0–1)0.2275, 0.1294, 0.4745
RGB percentages22.7%, 12.9%, 47.5%
HSLhsl(257, 57.1%, 30.2%)
HSV / HSBhsv(257, 72.7%, 47.5%)
CMYK52.1%, 72.7%, 0%, 52.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,809,657
CSS custom property--colour: #3A2179;

Brightness & contrast

Relative luminance0.03368WCAG 2.x, 0 is black and 1 is white
Perceived brightness57.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.55:1
Contrast with white12.55:1WCAG normal text: AAA
Contrast with black1.67:1WCAG normal text: Fail
Greyscale equivalent#2D2D2D
Inverted#C5DE86

Colour vision & accessibility

Protanopia#00357Cno red cones; affects about 1% of men; ΔE 19.7 from the original
Deuteranopia#003177no green cones; the most common form, about 1% of men; ΔE 18.9 from the original
Tritanopia#24384Ano blue cones; rare, and affects men and women equally; ΔE 49.2 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text12.55:1WCAG large text: AAA
Contrast with black, large text1.67:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 7.26, clearly different but related
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#607921
Analogous#213479, #662179
Triadic#793A21, #21793A
Split complementary#796621, #347921
Tetradic#792134, #607921, #217966

Tints, shades & saturation

Lighter +40%#A088DE
Lighter +30%#805FD3
Lighter +20%#6137C9
Lighter +10%#4D2CA1
Darker −10%#271651
Darker −20%#140B29
Darker −30%#000001
Darker −40%#000000
More saturated +25%#320E8C
Less saturated −25%#423466

Channel breakdown

R58
G33
B121
Red58 (22.7%)
Green33 (12.9%)
Blue121 (47.5%)
Hue257.05°
Saturation (HSL)57.14%
Lightness30.2%
Dominant channelBlue
Hex per channelR 3A · G 21 · B 79

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