Nerdulator> put something in

Recognised as Colour

#3A1577

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

#3A1577 is a violet with RGB values 58, 21, 119 and HSL 263°, 70%, 27%. It is a dark colour, so white text on it reaches 13.5:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#3A1577#3A1577
HEX#3A1577
RGBrgb(58, 21, 119)
RGB (0–1)0.2275, 0.0824, 0.4667
RGB percentages22.7%, 8.2%, 46.7%
HSLhsl(262.7, 70%, 27.5%)
HSV / HSBhsv(262.7, 82.4%, 46.7%)
CMYK51.3%, 82.4%, 0%, 53.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,806,583
CSS custom property--colour: #3A1577;

Brightness & contrast

Relative luminance0.02768WCAG 2.x, 0 is black and 1 is white
Perceived brightness53.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.52:1
Contrast with white13.52:1WCAG normal text: AAA
Contrast with black1.55:1WCAG normal text: Fail
Greyscale equivalent#242424
Inverted#C5EA88

Colour vision & accessibility

Protanopia#00307Ano red cones; affects about 1% of men; ΔE 22.7 from the original
Deuteranopia#002C75no green cones; the most common form, about 1% of men; ΔE 21.9 from the original
Tritanopia#263146no blue cones; rare, and affects men and women equally; ΔE 51.4 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.52:1WCAG large text: AAA
Contrast with black, large text1.55:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#527715
Analogous#152177, #6B1577
Triadic#773A15, #15773A
Split complementary#776B15, #217715
Tetradic#771521, #527715, #15776B

Tints, shades & saturation

Lighter +40%#9E72E6
Lighter +30%#8047DE
Lighter +20%#6424CE
Lighter +10%#4F1DA2
Darker −10%#250D4C
Darker −20%#100620
Darker −30%#000000
Darker −40%#000000
More saturated +25%#360489
Less saturated −25%#3E2766

Channel breakdown

R58
G21
B119
Red58 (22.7%)
Green21 (8.2%)
Blue119 (46.7%)
Hue262.65°
Saturation (HSL)70%
Lightness27.45%
Dominant channelBlue
Hex per channelR 3A · G 15 · B 77

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