Nerdulator> put something in

Colour

#3A157A

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

#3A157A is a violet with RGB values 58, 21, 122 and HSL 262°, 71%, 28%. It is a dark colour, so white text on it reaches 13.4:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#3A157A#3A157A
HEX#3A157A
RGBrgb(58, 21, 122)
RGB (0–1)0.2275, 0.0824, 0.4784
RGB percentages22.7%, 8.2%, 47.8%
HSLhsl(262, 70.6%, 28%)
HSV / HSBhsv(262, 82.8%, 47.8%)
CMYK52.5%, 82.8%, 0%, 52.2%naive device-independent conversion; real print needs an ICC profile
24-bit integer3,806,586
CSS custom property--colour: #3A157A;

Brightness & contrast

Relative luminance0.02841WCAG 2.x, 0 is black and 1 is white
Perceived brightness54.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.39:1
Contrast with white13.39:1WCAG normal text: AAA
Contrast with black1.57:1WCAG normal text: Fail
Greyscale equivalent#242424
Inverted#C5EA85

Colour vision & accessibility

Protanopia#00307Dno red cones; affects about 1% of men; ΔE 22.2 from the original
Deuteranopia#002D78no green cones; the most common form, about 1% of men; ΔE 22.2 from the original
Tritanopia#243248no blue cones; rare, and affects men and women equally; ΔE 52.9 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.39:1WCAG large text: AAA
Contrast with black, large text1.57:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#557A15
Analogous#15237A, #6C157A
Triadic#7A3A15, #157A3A
Split complementary#7A6D15, #227A15
Tetradic#7A1523, #557A15, #157A6C

Tints, shades & saturation

Lighter +40%#9E74E7
Lighter +30%#8048E0
Lighter +20%#6324D1
Lighter +10%#4F1CA6
Darker −10%#250E4E
Darker −20%#110623
Darker −30%#000000
Darker −40%#000000
More saturated +25%#35038C
Less saturated −25%#3F2768

Channel breakdown

R58
G21
B122
Red58 (22.7%)
Green21 (8.2%)
Blue122 (47.8%)
Hue261.98°
Saturation (HSL)70.63%
Lightness28.04%
Dominant channelBlue
Hex per channelR 3A · G 15 · B 7A

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