Nerdulator> put something in

Recognised as Colour

#3A197E

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

#3A197E is a violet with RGB values 58, 25, 126 and HSL 260°, 67%, 30%. It is a dark colour, so white text on it reaches 13:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#3A197E#3A197E
HEX#3A197E
RGBrgb(58, 25, 126)
RGB (0–1)0.2275, 0.098, 0.4941
RGB percentages22.7%, 9.8%, 49.4%
HSLhsl(259.6, 66.9%, 29.6%)
HSV / HSBhsv(259.6, 80.2%, 49.4%)
CMYK54%, 80.2%, 0%, 50.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,807,614
CSS custom property--colour: #3A197E;

Brightness & contrast

Relative luminance0.03101WCAG 2.x, 0 is black and 1 is white
Perceived brightness56.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.96:1
Contrast with white12.96:1WCAG normal text: AAA
Contrast with black1.62:1WCAG normal text: Fail
Greyscale equivalent#272727
Inverted#C5E681

Colour vision & accessibility

Protanopia#003381no red cones; affects about 1% of men; ΔE 22 from the original
Deuteranopia#002F7Cno green cones; the most common form, about 1% of men; ΔE 21.2 from the original
Tritanopia#21364Bno blue cones; rare, and affects men and women equally; ΔE 54.8 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.96:1WCAG large text: AAA
Contrast with black, large text1.62:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#5D7E19
Analogous#192A7E, #6D197E
Triadic#7E3A19, #197E3A
Split complementary#7E6D19, #2A7E19
Tetradic#7E192A, #5D7E19, #197E6D

Tints, shades & saturation

Lighter +40%#A07EE5
Lighter +30%#8053DD
Lighter +20%#612AD3
Lighter +10%#4E21A9
Darker −10%#261153
Darker −20%#130829
Darker −30%#000000
Darker −40%#000000
More saturated +25%#330691
Less saturated −25%#412C6B

Channel breakdown

R58
G25
B126
Red58 (22.7%)
Green25 (9.8%)
Blue126 (49.4%)
Hue259.6°
Saturation (HSL)66.89%
Lightness29.61%
Dominant channelBlue
Hex per channelR 3A · G 19 · B 7E

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